Closed SchrodingerZhu closed 4 years ago
That's strange. The rustc-std-workspace-core
feature comes from this optional dependency: https://github.com/rust-lang/compiler-builtins/blob/6de4f8f2e03197540419eb4c95ead0a5d5307e9c/Cargo.toml#L32. It is still there on the master branch so it should be available on crates.io as well.
What are your versions of rustc
, cargo
and cargo-xbuild
?
Cargo.toml
[package]
name = "toylibc"
version = "0.1.0"
authors = ["schrodingerzhu <i@zhuyi.fan>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
[dependencies]
packed_simd = "0.3.3"
spin = "0.5.2"
syscalls = "0.1.4"
[dependencies.num-complex]
version = "0.2"
default-features = false
[dependencies.rand]
version = "0.4"
default-features = false
[dependencies.lazy_static]
version = "1.4.0"
features = ["spin_no_std"]
[dependencies.simdeez]
version = "1.0.0"
[package.metadata.cargo-xbuild]
memcpy = false
Version
➜ toylibc git:(master) ✗ cargo --version
cargo 1.41.0-nightly (626f0f40e 2019-12-03)
➜ toylibc git:(master) ✗ rustc --version
rustc 1.41.0-nightly (3ed3b8bb7 2019-12-17)
➜ toylibc git:(master) ✗ cargo xbuild --version
cargo-xbuild 0.5.19
Seems like the problem is the memcpy = false
. With that option, I can reproduce the same error. I'll try to fix it. Thanks for reporting!
It was just a wrong feature name. Fixed in #50.
Published the fix in version 0.5.20