Skip to content

Commit 68d62c6

Browse files
committed
Remove useless conditional compilation
1 parent ad9654a commit 68d62c6

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed

ci/dox.sh

-5
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ dox() {
2222
rm -rf "target/doc/${arch}"
2323
mkdir "target/doc/${arch}"
2424

25-
export RUSTFLAGS="--cfg core_arch_docs"
26-
export RUSTDOCFLAGS="--cfg core_arch_docs"
27-
2825
cargo build --verbose --target "${target}" --manifest-path crates/core_arch/Cargo.toml
2926
cargo build --verbose --target "${target}" --manifest-path crates/std_detect/Cargo.toml
3027

@@ -33,15 +30,13 @@ dox() {
3330
--edition=2018 \
3431
--crate-name core_arch \
3532
--library-path "target/${target}/debug/deps" \
36-
--cfg core_arch_docs
3733
rustdoc --verbose --target "${target}" \
3834
-o "target/doc/${arch}" crates/std_detect/src/lib.rs \
3935
--edition=2018 \
4036
--crate-name std_detect \
4137
--library-path "target/${target}/debug/deps" \
4238
--extern cfg_if="$(ls target/"${target}"/debug/deps/libcfg_if-*.rlib)" \
4339
--extern libc="$(ls target/"${target}"/debug/deps/liblibc-*.rlib)" \
44-
--cfg core_arch_docs
4540
}
4641

4742
dox i686 i686-unknown-linux-gnu

crates/core_arch/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ readme = "README.md"
1313
keywords = ["core", "simd", "arch", "intrinsics"]
1414
categories = ["hardware-support", "no-std"]
1515
license = "MIT OR Apache-2.0"
16-
build = "build.rs"
1716
edition = "2018"
1817

1918
[badges]

crates/core_arch/build.rs

-3
This file was deleted.

crates/core_arch/src/arm/v7.rs

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ mod tests {
7676
}
7777

7878
#[test]
79-
#[cfg(dont_compile_me)] // FIXME need to add `v7` upstream in rustc
8079
fn _rbit_u32() {
8180
unsafe {
8281
assert_eq!(

0 commit comments

Comments
 (0)