diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-02-03 09:04:12 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-03-29 08:55:21 +0200 |
| commit | 0d89c6a2d44b78d052280d7faecfcb79e6f3d4a1 (patch) | |
| tree | f12f0f686444926ccc3cd203daa6d9ad087687d3 /compiler/rustc_mir_transform/src/inline | |
| parent | 51c93553d4344472f2e291b3a4f110f884062a37 (diff) | |
| download | rust-0d89c6a2d44b78d052280d7faecfcb79e6f3d4a1.tar.gz rust-0d89c6a2d44b78d052280d7faecfcb79e6f3d4a1.zip | |
Support TLS access into dylibs on Windows
Diffstat (limited to 'compiler/rustc_mir_transform/src/inline')
| -rw-r--r-- | compiler/rustc_mir_transform/src/inline/cycle.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_mir_transform/src/inline/cycle.rs b/compiler/rustc_mir_transform/src/inline/cycle.rs index faf404c7771..8aa3c23d019 100644 --- a/compiler/rustc_mir_transform/src/inline/cycle.rs +++ b/compiler/rustc_mir_transform/src/inline/cycle.rs @@ -83,6 +83,7 @@ pub(crate) fn mir_callgraph_reachable<'tcx>( | InstanceDef::ReifyShim(_) | InstanceDef::FnPtrShim(..) | InstanceDef::ClosureOnceShim { .. } + | InstanceDef::ThreadLocalShim { .. } | InstanceDef::CloneShim(..) => {} // This shim does not call any other functions, thus there can be no recursion. |
