error: duplicate lang item in crate `core` (which `std` depends on): `const_ptr`.
|
= note: the lang item is first defined in crate `core` (which `std` depends on)
= note: first definition in `core` loaded from /Users/skyzh/Work/test-build-std/target/aarch64-apple-darwin/debug/deps/libcore-ba459098a3dc74d8.rmeta
= note: second definition in `core` loaded from /Users/skyzh/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-dd6de681850a671c.rlib
error: duplicate lang item in crate `core` (which `std` depends on): `mut_ptr`.
|
= note: the lang item is first defined in crate `core` (which `std` depends on)
= note: first definition in `core` loaded from /Users/skyzh/Work/test-build-std/target/aarch64-apple-darwin/debug/deps/libcore-ba459098a3dc74d8.rmeta
= note: second definition in `core` loaded from /Users/skyzh/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-dd6de681850a671c.rlib
Once feature test is removed, everything compiles...
Minimum reproducible step:
lib.rs
:Then there are a lot of errors in console...
Once feature test is removed, everything compiles...
Thanks for investigating into this!