forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Doc building for ios
Valerii Hiora edited this page Jun 17, 2014
·
102 revisions
You need XCode 5.
Build Rust cross-compiler:
mkdir build_ios; cd build_ios
../configure --target=arm-apple-ios,i386-apple-ios
make VERBOSE=1
Once compilation complete you can use it.
To target device:
rustc --target=arm-apple-ios foo.rs
To target simulator:
rustc --target=i386-apple-ios foo.rs
- all Rust superpowers
- exception handling
- LLDB debugging
- green tasks
- works only for armv7 architecture, armv7s and arm64 will be added soon.
- segmented stack is disabled that means no stack protection available
- Sample of using Rust from Objective C + Makefile for simulateous compiling for both device and simulator
All Categories:
- Docs -- For users
- Notes -- For developers
- Libs -- For library authors
- Meeting minutes