I’m working on edits to libstd, and I’d like to test them locally. Following the advice in the xargo README, I did:
XARGO_RUST_SRC=<workspace>/rust/src/ xargo build
<workspace>/rust is a copy of the
rust-lang/rust repository with my changes)
Unfortunately, I got the following output:
Compiling core v0.0.0 (file:///<workspace>/rust/src/libcore) Finished release [optimized] target(s) in 16.24 secs Compiling tmp v0.1.0 (file:////tmp/tmp) error[E0463]: can't find crate for `std` error: aborting due to previous error error: Could not compile `tmp033`. To learn more, run the command again with --verbose.
Any advice here?