These are chat archives for rust-lang/rust
--- stderr fatal: Not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). configure: WARNING: using cross tools not prefixed with host triplet configure: WARNING: configure found only the libz lib, not the header file! configure: WARNING: the previous check could not be made default was used configure: WARNING: skipped the ca-cert path detection when cross-compiling configure: WARNING: Cannot find libraries for IDN support: IDN disabled ../lib/.libs/libcurl.a: error adding symbols: Archive has no index; run ranlib to add one collect2: error: ld returned 1 exit status make: *** [Makefile:779: curl.exe] Error 1 make: *** [Makefile:661: all] Error 2 make: *** [Makefile:897: all-recursive] Error 1 thread 'main' panicked at ' command did not execute successfully, got: exit code: 2
AR=x86_64-w64-mingw32-ar CC=x86_64-w64-mingw32-gcc PKG_CONFIG_ALLOW_CROSS=1 cargo build --release --target=x86_64-pc-windows-gnu
fn()but I end up with segfaults everytime or type-errors ):
: ()and the compiler will tell you
default-features = falsein Cargo.toml. But this doesn't seem to work if I have an indirect dependency. The indirect dependency simply depends on it and it has no configuration knob. Can I tell cargo not to bring the optional features?