This reverts commit 58a73924eb
.
# Objective
This is causing local `cargo run -p ci` runs to fail on `stable` Rust
when used locally. Fixes #16871.
## Solution
Revert #16147. We shouldn't have merged this until we had a full
solution (I missed a Controversial tag, sorry!).
## Testing
`cargo run -p ci` fails for me before this change in the reported
fashion. After this reversion, it passes.
This commit is contained in:
parent
21786632c3
commit
05c6931279
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -126,7 +126,6 @@ jobs:
|
|||||||
- name: Check Compile
|
- name: Check Compile
|
||||||
# See tools/ci/src/main.rs for the commands this runs
|
# See tools/ci/src/main.rs for the commands this runs
|
||||||
run: cargo run -p ci -- compile
|
run: cargo run -p ci -- compile
|
||||||
|
|
||||||
check-compiles-no-std:
|
check-compiles-no-std:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
@ -295,7 +294,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: example-run-macos
|
name: example-run-macos
|
||||||
path: example-run/
|
path: example-run/
|
||||||
|
|
||||||
check-doc:
|
check-doc:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
@ -310,9 +308,7 @@ jobs:
|
|||||||
~/.cargo/git/db/
|
~/.cargo/git/db/
|
||||||
target/
|
target/
|
||||||
key: ${{ runner.os }}-check-doc-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-check-doc-${{ hashFiles('**/Cargo.toml') }}
|
||||||
- uses: dtolnay/rust-toolchain@master
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
toolchain: ${{ env.NIGHTLY_TOOLCHAIN }}
|
|
||||||
- name: Install Linux dependencies
|
- name: Install Linux dependencies
|
||||||
uses: ./.github/actions/install-linux-deps
|
uses: ./.github/actions/install-linux-deps
|
||||||
with:
|
with:
|
||||||
@ -323,7 +319,7 @@ jobs:
|
|||||||
run: cargo run -p ci -- doc
|
run: cargo run -p ci -- doc
|
||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
RUSTFLAGS: "-C debuginfo=0 --cfg docsrs_dep"
|
RUSTFLAGS: "-C debuginfo=0"
|
||||||
# This currently report a lot of false positives
|
# This currently report a lot of false positives
|
||||||
# Enable it again once it's fixed - https://github.com/bevyengine/bevy/issues/1983
|
# Enable it again once it's fixed - https://github.com/bevyengine/bevy/issues/1983
|
||||||
# - name: Installs cargo-deadlinks
|
# - name: Installs cargo-deadlinks
|
||||||
|
@ -16,6 +16,6 @@ impl Prepare for DocCheckCommand {
|
|||||||
),
|
),
|
||||||
"Please fix doc warnings in output above.",
|
"Please fix doc warnings in output above.",
|
||||||
)
|
)
|
||||||
.with_env_var("RUSTDOCFLAGS", "-D warnings --cfg=docsrs")]
|
.with_env_var("RUSTDOCFLAGS", "-D warnings")]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user