You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of #142635 - bjorn3:add_back_wasm_spec_abi, r=workingjubilee
Temporarily add back -Zwasm-c-abi=spec
This allows a more gradual transition path for projects that need to use use the spec-complaint C ABI both with older and newer rustc versions.
Copy file name to clipboardExpand all lines: compiler/rustc_session/src/options.rs
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -802,6 +802,7 @@ mod desc {
802
802
"either a boolean (`yes`, `no`, `on`, `off`, etc), or a non-negative number";
803
803
pub(crate)const parse_llvm_module_flag:&str = "<key>:<type>:<value>:<behavior>. Type must currently be `u32`. Behavior should be one of (`error`, `warning`, `require`, `override`, `append`, `appendunique`, `max`, `min`)";
804
804
pub(crate)const parse_function_return:&str = "`keep` or `thunk-extern`";
805
+
pub(crate)const parse_wasm_c_abi:&str = "`spec`";
805
806
pub(crate)const parse_mir_include_spans:&str =
806
807
"either a boolean (`yes`, `no`, `on`, `off`, etc), or `nll` (default: `nll`)";
807
808
pub(crate)const parse_align:&str = "a number that is a power of 2 between 1 and 2^29";
0 commit comments