diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2024-12-29 22:45:39 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-29 22:45:39 +1100 |
| commit | fc89cb202f1e34fdf57086dda5d560d9cc5ca766 (patch) | |
| tree | e808ba971da10f29eee80cbe610e0a1a1fc745fe /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | a43730b2af4699d914f9d36e0ba98ff5089e3925 (diff) | |
| parent | 4192293b4d546a20dcd25ad344ef9fbc84e8f2a9 (diff) | |
| download | rust-fc89cb202f1e34fdf57086dda5d560d9cc5ca766.tar.gz rust-fc89cb202f1e34fdf57086dda5d560d9cc5ca766.zip | |
Rollup merge of #134883 - Zalathar:shared-helpers, r=clubby789
bootstrap: Fix `./x check bootstrap` by moving `shared_helpers::tests` Running `./x check bootstrap` currently doesn't work, because it builds the bootstrap shim binaries with `cfg(test)`, and those binaries can't find a `tests` submodule when they include `shared_helpers.rs` via `#[path]`. This PR fixes that by taking the tests module and moving it to `super::tests::shared_helpers_tests` instead. (The extra `tests` submodule prevents tidy from complaining about unit tests that aren't in a dedicated tests module.) --- It would be nice to also run `./x check bootstrap compiletest` in CI, so that this and #134848 don't regress, but I didn't want to bundle that change with this fix.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
