diff options
author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-07-25 07:09:43 +0900 |
---|---|---|
committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-07-25 23:57:46 +0900 |
commit | 45317a0c2c12b51be013cd5194dd2a89c092cb41 (patch) | |
tree | 68fa24601f0ce4005c011d46878eb02e0e989dcc /ci/dox.sh | |
parent | 83c304407d14ab7f6fde129be3d5e4c8b0d14512 (diff) | |
download | rust-libc-45317a0c2c12b51be013cd5194dd2a89c092cb41.tar.gz |
Use `build-std` feature instead of using `cargo-xbuild`
Diffstat (limited to 'ci/dox.sh')
-rw-r--r-- | ci/dox.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -19,7 +19,6 @@ if ! rustc --version | grep -E "nightly" ; then fi rustup component add rust-src -cargo +nightly install cargo-xbuild # List all targets that do currently build successfully: # shellcheck disable=SC1003 @@ -50,10 +49,11 @@ while read -r target; do # Enable extra configuration flags: export RUSTDOCFLAGS="--cfg freebsd11" - # If cargo doc fails, then try xargo: + # If cargo doc fails, then try with unstable feature: if ! cargo doc --target "${target}" \ --no-default-features --features extra_traits ; then - cargo xdoc --target "${target}" \ + cargo doc --target "${target}" \ + -Z build-std=core,alloc \ --no-default-features --features extra_traits fi |