Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created March 24, 2018 20:51
Show Gist options
  • Save goyox86/c5892abac2d2e2462ea2558d3a095742 to your computer and use it in GitHub Desktop.
Save goyox86/c5892abac2d2e2462ea2558d3a095742 to your computer and use it in GitHub Desktop.
make virtualbox
cd kernel && INITFS_FOLDER=/home/goyox86/Code/os/redox/redox/build/initfs xargo rustc --lib --target x86_64-unknown-none --release -- -C soft-float -C debuginfo=2 --emit link=../build/libkernel.a
Compiling core v0.0.0 (file:///home/goyox86/Code/os/redox/redox/rust/src/libcore)
error[E0015]: calls in constant functions are limited to constant functions, struct and enum constructors
--> /home/goyox86/Code/os/redox/redox/rust/src/libcore/any.rs:373:25
|
373 | t: unsafe { intrinsics::type_id::<T>() },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
error: Could not compile `core`.
To learn more, run the command again with --verbose.
error: `"cargo" "build" "--release" "--manifest-path" "/tmp/xargo.KxvXOHiz2iH7/Cargo.toml" "--target" "x86_64-unknown-none" "-p" "alloc"` failed with exit code: Some(101)
note: run with `RUST_BACKTRACE=1` for a backtrace
make: *** [mk/kernel.mk:6: build/libkernel.a] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment