@@ -202,7 +202,7 @@ pub(crate) struct TestProps {
202202 /// that don't otherwise want/need `-Z build-std`.
203203 pub add_minicore : bool ,
204204 /// Add these flags to the build of `minicore`.
205- pub core_stubs_compile_flags : Vec < String > ,
205+ pub minicore_compile_flags : Vec < String > ,
206206 /// Whether line annotatins are required for the given error kind.
207207 pub dont_require_annotations : HashSet < ErrorKind > ,
208208 /// Whether pretty printers should be disabled in gdb.
@@ -255,7 +255,7 @@ mod directives {
255255 pub const FILECHECK_FLAGS : & ' static str = "filecheck-flags" ;
256256 pub const NO_AUTO_CHECK_CFG : & ' static str = "no-auto-check-cfg" ;
257257 pub const ADD_MINICORE : & ' static str = "add-minicore" ;
258- pub const CORE_STUBS_COMPILE_FLAGS : & ' static str = "core-stubs -compile-flags" ;
258+ pub const MINICORE_COMPILE_FLAGS : & ' static str = "minicore -compile-flags" ;
259259 pub const DISABLE_GDB_PRETTY_PRINTERS : & ' static str = "disable-gdb-pretty-printers" ;
260260 pub const COMPARE_OUTPUT_BY_LINES : & ' static str = "compare-output-by-lines" ;
261261}
@@ -312,7 +312,7 @@ impl TestProps {
312312 filecheck_flags : vec ! [ ] ,
313313 no_auto_check_cfg : false ,
314314 add_minicore : false ,
315- core_stubs_compile_flags : vec ! [ ] ,
315+ minicore_compile_flags : vec ! [ ] ,
316316 dont_require_annotations : Default :: default ( ) ,
317317 disable_gdb_pretty_printers : false ,
318318 compare_output_by_lines : false ,
@@ -604,15 +604,15 @@ impl TestProps {
604604 self . update_add_minicore ( ln, config) ;
605605
606606 if let Some ( flags) =
607- config. parse_name_value_directive ( ln, CORE_STUBS_COMPILE_FLAGS )
607+ config. parse_name_value_directive ( ln, MINICORE_COMPILE_FLAGS )
608608 {
609609 let flags = split_flags ( & flags) ;
610610 for flag in & flags {
611611 if flag == "--edition" || flag. starts_with ( "--edition=" ) {
612612 panic ! ( "you must use `//@ edition` to configure the edition" ) ;
613613 }
614614 }
615- self . core_stubs_compile_flags . extend ( flags) ;
615+ self . minicore_compile_flags . extend ( flags) ;
616616 }
617617
618618 if let Some ( err_kind) =
0 commit comments