Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vhbit/ObjCrust
Using Rust to create an iOS static library
https://github.com/vhbit/ObjCrust
Last synced: 7 days ago
JSON representation
Using Rust to create an iOS static library
- Host: GitHub
- URL: https://github.com/vhbit/ObjCrust
- Owner: vhbit
- Fork: true (shilgapira/ObjCrust)
- Created: 2014-03-25T05:49:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-04T06:01:22.000Z (over 9 years ago)
- Last Synced: 2024-08-01T03:29:58.510Z (3 months ago)
- Language: Objective-C
- Size: 212 KB
- Stars: 36
- Watchers: 5
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-rust-cn - vhbit/ObjCrust - ci.org/vhbit/ObjCrust.svg?branch=master">](https://travis-ci.org/vhbit/ObjCrust) (Libraries / Mobile)
- awesome-rust - vhbit/ObjCrust - ci.org/vhbit/ObjCrust.svg?branch=master">](https://travis-ci.org/vhbit/ObjCrust) (Libraries / Mobile)
- awesome-rust-zh - vhbit/ObjCrust - 使用 Rust 创建 iOS 静态库[<img src="https://api.travis-ci.org/vhbit/ObjCrust.svg?branch=master">](https://travis-ci.org/vhbit/ObjCrust) (库 / 移动)
README
# ObjCrust
A modified ObjCrust which uses Rust
cross-compiler. [Cross-compiler](https://github.com/vhbit/Rust/tree/ios)
needs to be built first (note: it is on a separate branch now, so
don't forget to checkout it before building).Requires Xcode 5 and the iOS 7 SDK.
Based on [doublec/rust-from-c-example](https://github.com/doublec/rust-from-c-example)
## Usage
1. `git clone https://github.com/vhbit/ObjCrust.git`
2. change CROSS_IOS_RUST_ROOT to your local cross compiler root
3. `cd ObjCrust/Rust`
4. `make`
5. `cd ../iOS`
6. `open ObjCrust.xcodeproj`
7. Build and run in Xcode