Failed to build under win64
Kein opened this issue · comments
cargo build --verbose --release
warning: could not canonicalize path: 'n:\cfg-if'
warning: could not canonicalize path: 'n:\'
Updating crates.io index
Compiling cfg-if v1.0.0 (N:\cfg-if)
Running `rustc --crate-name cfg_if --edition=2018 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=0693a248e62814cf -C extra-filename=-0693a248e62814cf --out-dir n:\cfg-if\target\release\deps -L dependency=n:\cfg-if\target\release\deps`
error: failed to build archive: function not supported
error: could not compile `cfg-if` due to previous error
Caused by:
process didn't exit successfully: `rustc --crate-name cfg_if --edition=2018 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=0693a248e62814cf -C extra-filename=-0693a248e62814cf --out-dir n:\cfg-if\target\release\deps -L dependency=n:\cfg-if\target\release\deps` (exit code: 1)
Thanks for the report, but this isn't a bug in this crate.
This isnt cfg-if
?
This isnt
cfg-if
?
The real cause is at the top btw
warning: could not canonicalize path: 'n:\cfg-if'
It won't compile on a network drive or ramdisk.