File tree Expand file tree Collapse file tree 4 files changed +13
-3
lines changed
uefi-test-runner/src/proto Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 11[toolchain ]
2- channel = " nightly-2025-06-01 "
2+ channel = " nightly"
33targets = [" aarch64-unknown-uefi" , " i686-unknown-uefi" , " x86_64-unknown-uefi" ]
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ use uefi::proto::driver::ComponentName1;
1212/// `ComponentName`.
1313trait ComponentNameInterface : Sized {
1414 fn open ( handle : Handle ) -> Result < Self > ;
15- fn supported_languages ( & self ) -> core:: result:: Result < LanguageIter , LanguageError > ;
15+ fn supported_languages ( & self ) -> core:: result:: Result < LanguageIter < ' _ > , LanguageError > ;
1616 fn driver_name ( & self , language : & str ) -> Result < & CStr16 > ;
1717 fn controller_name (
1818 & self ,
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ mod tests_mmap_artificial {
107107 use super :: * ;
108108 use core:: mem:: { size_of, size_of_val} ;
109109
110- fn buffer_to_map ( buffer : & mut [ MemoryDescriptor ] ) -> MemoryMapRefMut {
110+ fn buffer_to_map ( buffer : & mut [ MemoryDescriptor ] ) -> MemoryMapRefMut < ' _ > {
111111 let mmap_len = size_of_val ( buffer) ;
112112 let mmap = {
113113 unsafe { core:: slice:: from_raw_parts_mut ( buffer. as_mut_ptr ( ) . cast :: < u8 > ( ) , mmap_len) }
Original file line number Diff line number Diff line change @@ -322,6 +322,16 @@ impl Cargo {
322322 rustflags. push_str ( " --verbose" ) ;
323323 cmd. env ( "RUSTFLAGS" , rustflags) ;
324324 }
325+
326+ // Skip the uefi-macros compilation "ui" tests on the nightly
327+ // toolchain. These tests are sensitive to compiler version, and
328+ // sometimes the output on nightly doesn't match the stable
329+ // toolchain.
330+ let toolchain = env:: var ( "RUSTUP_TOOLCHAIN" ) . unwrap_or_default ( ) ;
331+ if toolchain. starts_with ( "nightly-" ) {
332+ println ! ( "skipping uefi-macros ui tests for toolchain {toolchain}" ) ;
333+ tool_args. extend ( [ "--skip" , "ui" ] ) ;
334+ }
325335 }
326336 } ;
327337 cmd. arg ( action) ;
You can’t perform that action at this time.
0 commit comments