-
Notifications
You must be signed in to change notification settings - Fork 17
Description
➜ RustOS git:(master) make run
cargo rustc --features rustos --target i686-unknown-linux-gnu --verbose -- -L .
Compiling core v0.0.1 (file:///home/anuj/RustOS)
Running rustc lib/rust/cargo/core/src/lib.rs --crate-name core --crate-type lib -g -C metadata=2839fe1be8c3a48a -C extra-filename=-2839fe1be8c3a48a --out-dir /home/anuj/RustOS/target/i686-unknown-linux-gnu/debug/deps --emit=dep-info,link --target i686-unknown-linux-gnu -L dependency=/home/anuj/RustOS/target/i686-unknown-linux-gnu/debug/deps -L dependency=/home/anuj/RustOS/target/i686-unknown-linux-gnu/debug/deps
lib/rust/cargo/core/src/nonzero.rs:58:19: 58:25 error: expected identifier, found keyword unsafe
lib/rust/cargo/core/src/nonzero.rs:58 pub const unsafe fn new(inner: T) -> NonZero {
^~~~~~
lib/rust/cargo/core/src/nonzero.rs:58:26: 58:28 error: expected :, found fn
lib/rust/cargo/core/src/nonzero.rs:58 pub const unsafe fn new(inner: T) -> NonZero {
^~
Could not compile core.
Caused by:
Process didn't exit successfully: rustc lib/rust/cargo/core/src/lib.rs --crate-name core --crate-type lib -g -C metadata=2839fe1be8c3a48a -C extra-filename=-2839fe1be8c3a48a --out-dir /home/anuj/RustOS/target/i686-unknown-linux-gnu/debug/deps --emit=dep-info,link --target i686-unknown-linux-gnu -L dependency=/home/anuj/RustOS/target/i686-unknown-linux-gnu/debug/deps -L dependency=/home/anuj/RustOS/target/i686-unknown-linux-gnu/debug/deps (exit code: 101)
make: ** [target/i686-unknown-linux-gnu/debug/libstd.a] Error 101
I am using rust version 1.2.0 nightly