|
include!(concat!(env!("OUT_DIR"), "\\lib.rs")); |
When building a windows target from Linux, this error causes a failure:
error: couldn't read `/home/paul/dev/anttp/target/x86_64-pc-windows-gnu/release/build/crunchy-3bac6a37de467f15/out\lib.rs`: No such file or directory (os error 2)
--> /home/paul/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/crunchy-0.2.3/src/lib.rs:37:1
|
37 | include!(concat!(env!("OUT_DIR"), "\\lib.rs"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info)
Should the path depend on the system doing the build, rather than the build target?
Thanks!
Paul
crunchy/src/lib.rs
Line 37 in df1e539
When building a windows target from Linux, this error causes a failure:
Should the path depend on the system doing the build, rather than the build target?
Thanks!
Paul