rust/src/tools
bors eb2c643bf1 Auto merge of #2931 - max-heller:issue-2881, r=RalfJung
Treat thread-local statics on main thread as static roots for leakage analysis

Miri currently treats allocations as leaked if they're only referenced in thread-local statics. For threads other than the main thread, this is correct, since the thread can terminate before the program does, but references in the main thread's locals should be treated as living for the duration of the program since the thread lives for the duration of the program.

This PR adds thread-local statics and TLS keys as "static roots" for leakage analysis, but does not yet bless the example program from #2881. See https://github.com/rust-lang/miri/issues/2881#issuecomment-1585666652

Closes #2881
2023-11-12 15:33:24 +00:00
..
build-manifest Fix review comments 2023-10-27 11:56:39 +00:00
build_helper Rollup merge of #114453 - Kobzol:ci-group-stdout, r=onur-ozkan 2023-10-02 16:09:41 -04:00
bump-stage0 Upgrade to indexmap 2.0.0 2023-07-03 13:51:54 -07:00
cargo@b4d18d4bd3 Update cargo 2023-10-31 15:56:37 -04:00
cargotest
clippy Auto merge of #117507 - nnethercote:rustc_span, r=Nilstrieb 2023-11-03 14:57:40 +00:00
collect-license-metadata Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
compiletest Don't provide rust-demangler to run-make tests 2023-10-27 17:18:47 +11:00
coverage-dump Add tool src/tools/coverage-dump for use by some new coverage tests 2023-09-05 11:11:48 +10:00
error_index_generator Provide more context for rustc +nightly -Zunstable-options on stable 2023-06-27 23:23:33 +08:00
expand-yaml-anchors
generate-copyright
generate-windows-sys Update windows ffi bindings 2023-08-28 20:12:00 +01:00
html-checker
jsondocck Allow to have - in the rustdoc-json test file name 2023-07-12 10:45:49 +02:00
jsondoclint rustdoc: Rename typedef to type alias in jsondoclint 2023-08-23 11:47:35 -07:00
linkchecker linkchecker: Remove unneeded FIXME about intra-doc links 2023-08-06 13:28:43 +02:00
lint-docs Revert "Fix x test lint-docs when download-rustc is enabled" 2023-07-11 22:30:28 -05:00
lld-wrapper linker: Remove -Zgcc-ld option 2023-10-08 10:05:25 +03:00
miri Auto merge of #2931 - max-heller:issue-2881, r=RalfJung 2023-11-12 15:33:24 +00:00
miropt-test-tools Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
opt-dist Partial Revert: "Auto merge of #117018 - Kobzol:opt-dist-cargo-stage0" 2023-10-23 16:10:52 +02:00
remote-test-client
remote-test-server
replace-version-placeholder Only depend on CFG_VERSION in rustc_interface 2023-05-17 23:54:21 -05:00
rls Don't use serde-derive in the rls shim 2023-07-10 14:53:57 -07:00
rust-analyzer Remove support for compiler plugins. 2023-11-04 08:50:46 +11:00
rust-demangler
rust-installer rust-installer: Use env(1) in the shebang. 2023-07-21 17:55:49 -07:00
rustbook
rustdoc
rustdoc-gui Improve display of parallel jobs in rustdoc-gui tester script 2023-10-16 20:16:08 +02:00
rustdoc-gui-test Make try_run return a Result<(), ()> instead of a boolean 2023-06-23 17:07:34 +02:00
rustdoc-js rustdoc: fix test case for generics that look like names 2023-09-03 13:06:08 -07:00
rustdoc-themes Ensure build/tmp exists in rustdoc_themes::get_themes 2023-09-20 08:31:33 +02:00
rustfmt Add gen blocks to ast and do some broken ast lowering 2023-10-27 13:05:48 +00:00
suggest-tests Fix the test directories suggested by ./x.py suggest 2023-04-30 11:05:13 +10:00
tidy Auto merge of #115274 - bjorn3:tidy_improvements, r=davidtwco 2023-11-04 02:28:17 +00:00
tier-check
unicode-table-generator
unstable-book-gen
x Add other workspaces to linkedProjects in rust_analyzer_settings.json 2023-05-26 12:08:58 -05:00
cherry-pick.sh
publish_toolstate.py Apply changes to fix python linting errors 2023-06-16 20:56:01 -04:00