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
{{ message }}
Repository navigation
Commit c6a43f6
Browse filesBrowse the repository at this point in the historyBrowse files
Rollup merge of #159795 - dingxiangfei2009:coro-layout-flag, r=tmandry
Introduce `-Z pack-coroutine-layout` flag
This is still mostly cosmetic, but more stuff is coming over from #135527.
Only the tip of the branch matters, the other commit will be shipped from another PR. It will go away after a rebase, hopefully.
r? @cjgillot
Copy file name to clipboardExpand all lines: compiler/rustc_session/src/options.rs
+16-1Lines changed: 16 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ use std::num::{IntErrorKind, NonZero};
3
3
use std::path::PathBuf;
4
4
use std::str;
5
5
6
-
use rustc_abi::Align;
6
+
use rustc_abi::{Align,PackCoroutineLayout};
7
7
use rustc_ast::attr::version::RustcVersion;
8
8
use rustc_data_structures::profiling::TimePassesFormat;
9
9
use rustc_data_structures::stable_hash::StableHasher;
@@ -916,6 +916,7 @@ mod desc {
916
916
pub(crate)const parse_panic_strategy:&str = "either `unwind`, `abort`, or `immediate-abort`";
917
917
pub(crate)const parse_on_broken_pipe:&str = "either `kill`, `error`, or `inherit`";
918
918
pub(crate)const parse_patchable_function_entry:&str = "a comma separated list of (prefix_nops,total_nops,section_name), (prefix_nops,total_nops), or (total_nops). Where prefix_nops <= total_nops where 0 < total_nops <= 255 and prefix_nops <= total_nops";
919
+
pub(crate)const parse_pack_coroutine_layout:&str = "either `classic` or `captures-only`";
0 commit comments