Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created March 9, 2018 23:10
Show Gist options
  • Save goyox86/aec80f883bc6c1f7e2db401234670981 to your computer and use it in GitHub Desktop.
Save goyox86/aec80f883bc6c1f7e2db401234670981 to your computer and use it in GitHub Desktop.
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.0daXRXi3Hcjt/Cargo.toml" "--target" "x86_64-unknown-redox" "-p" "std"` failed with exit code: Some(101)
note: run with `RUST_BACKTRACE=1` for a backtrace
./repo.sh failed.make: *** [mk/initfs.mk:5: build/initfs.tag] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment