Skip to content

Commit 023a2a4

Browse files
committed
Auto merge of #135164 - Kobzol:run-make-test-glibc-symbols, r=jieyouxu
Add test for checking used glibc symbols This test checks that we do not use too new glibc symbols in the compiler on x64 GNU Linux, in order not to break our [glibc promises](https://blog.rust-lang.org/2022/08/01/Increasing-glibc-kernel-requirements.html). One thing that isn't solved in the PR yet is to make sure that this test will only run on `dist` CI, more specifically on the `dist-x86_64-linux` runner, in the opt-dist post-optimization tests (it can fail elsewhere, that doesn't matter). Any suggestions on how to do that are welcome. Fixes: rust-lang/rust#134037 r? `@jieyouxu`
2 parents ad0c0fc + 3543f80 commit 023a2a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/tests/directives.md

+2
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ Some examples of `X` in `ignore-X` or `only-X`:
152152
`compare-mode-split-dwarf`, `compare-mode-split-dwarf-single`
153153
- The two different test modes used by coverage tests:
154154
`ignore-coverage-map`, `ignore-coverage-run`
155+
- When testing a dist toolchain: `dist`
156+
- This needs to be enabled with `COMPILETEST_ENABLE_DIST_TESTS=1`
155157

156158
The following directives will check rustc build settings and target
157159
settings:

0 commit comments

Comments
 (0)