diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2023-10-28 21:29:37 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2023-11-07 11:15:19 +1100 |
| commit | 211d4cee8eb0ef2e3dcf5426c143cecce76570cb (patch) | |
| tree | cc046228cc88826ec4f88254e25e1c907f19831a /src | |
| parent | 4b76b97bc8c7a9bf4e9d9e43f02c03b2dce23a57 (diff) | |
| download | rust-211d4cee8eb0ef2e3dcf5426c143cecce76570cb.tar.gz rust-211d4cee8eb0ef2e3dcf5426c143cecce76570cb.zip | |
coverage: Copy all remaining run-coverage tests into coverage-map
These multi-file tests were not copied over in #114843 because they weren't working, but it turns out that they just need the correct crate-type.
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 4c6f46ef0dc..c9bc858b8e9 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -2193,7 +2193,7 @@ impl<'test> TestCx<'test> { || self.is_vxworks_pure_static() || self.config.target.contains("bpf") || !self.config.target_cfg().dynamic_linking - || self.config.mode == RunCoverage + || matches!(self.config.mode, CoverageMap | RunCoverage) { // We primarily compile all auxiliary libraries as dynamic libraries // to avoid code size bloat and large binaries as much as possible |
