@@ -2191,8 +2191,8 @@ pub struct TargetOptions {
2191
2191
/// Whether the target supports XRay instrumentation.
2192
2192
pub supports_xray : bool ,
2193
2193
2194
- /// Forces the use of emulated TLS (__emutls_get_address)
2195
- pub force_emulated_tls : bool ,
2194
+ /// Use emulated TLS (__emutls_get_address)
2195
+ pub use_emulated_tls : bool ,
2196
2196
}
2197
2197
2198
2198
/// Add arguments for the given flavor and also for its "twin" flavors
@@ -2408,7 +2408,7 @@ impl Default for TargetOptions {
2408
2408
entry_name : "main" . into ( ) ,
2409
2409
entry_abi : Conv :: C ,
2410
2410
supports_xray : false ,
2411
- force_emulated_tls : false ,
2411
+ use_emulated_tls : false ,
2412
2412
}
2413
2413
}
2414
2414
}
@@ -3112,7 +3112,7 @@ impl Target {
3112
3112
key ! ( entry_name) ;
3113
3113
key ! ( entry_abi, Conv ) ?;
3114
3114
key ! ( supports_xray, bool ) ;
3115
- key ! ( force_emulated_tls , bool ) ;
3115
+ key ! ( use_emulated_tls , bool ) ;
3116
3116
3117
3117
if base. is_builtin {
3118
3118
// This can cause unfortunate ICEs later down the line.
@@ -3368,7 +3368,7 @@ impl ToJson for Target {
3368
3368
target_option_val ! ( entry_name) ;
3369
3369
target_option_val ! ( entry_abi) ;
3370
3370
target_option_val ! ( supports_xray) ;
3371
- target_option_val ! ( force_emulated_tls ) ;
3371
+ target_option_val ! ( use_emulated_tls ) ;
3372
3372
3373
3373
if let Some ( abi) = self . default_adjusted_cabi {
3374
3374
d. insert ( "default-adjusted-cabi" . into ( ) , Abi :: name ( abi) . to_json ( ) ) ;
0 commit comments