Support TLS access into dylibs on Windows
This commit is contained in:
@@ -42,6 +42,7 @@ pub(super) fn mangle<'tcx>(
|
||||
|
||||
// Append `::{shim:...#0}` to shims that can coexist with a non-shim instance.
|
||||
let shim_kind = match instance.def {
|
||||
ty::InstanceDef::ThreadLocalShim(_) => Some("tls"),
|
||||
ty::InstanceDef::VTableShim(_) => Some("vtable"),
|
||||
ty::InstanceDef::ReifyShim(_) => Some("reify"),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user