diff options
Diffstat (limited to 'src/features.rs')
-rw-r--r-- | src/features.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/features.rs b/src/features.rs index 29e60ab7..b89185fd 100644 --- a/src/features.rs +++ b/src/features.rs @@ -140,6 +140,8 @@ rust_feature_def!( => untagged_union; /// Constant function ([RFC 911](https://github.com/rust-lang/rfcs/blob/master/text/0911-const-fn.md)) => const_fn; + /// `thiscall` calling convention ([Tracking issue](https://github.com/rust-lang/rust/issues/42202)) + => thiscall_abi; ); impl From<RustTarget> for RustFeatures { @@ -152,6 +154,7 @@ impl From<RustTarget> for RustFeatures { if rust_target >= RustTarget::Nightly { features.const_fn = true; + features.thiscall_abi = true; } features |