I haven't checked whether this is also the case for Linux or Windows but the calculated path in rust_src_build_path() does not seem to be correct on macOS anymore, i.e. when I run cargo asm --rust on some native code I get some error like:
file /rustc/fc50f328b0353b285421b8ff5d4100966387a997/src/libcore/fmt/mod.rs does not exist!
where the long hash is the commit hash of the release, e.g.
I haven't checked whether this is also the case for Linux or Windows but the calculated path in
rust_src_build_path()
does not seem to be correct on macOS anymore, i.e. when I runcargo asm --rust
on some native code I get some error like:where the long hash is the commit hash of the release, e.g.
and the physical path on disc something like: