File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -483,6 +483,7 @@ impl<'a> fmt::Display for Display<'a> {
483
483
"openbsd" => "OpenBSD" ,
484
484
"redox" => "Redox" ,
485
485
"solaris" => "Solaris" ,
486
+ "wasi" => "WASI" ,
486
487
"windows" => "Windows" ,
487
488
_ => "" ,
488
489
} ,
Original file line number Diff line number Diff line change @@ -367,6 +367,10 @@ fn test_render_long_html() {
367
367
name_value_cfg( "target_os" , "macos" ) . render_long_html( ) ,
368
368
"This is supported on <strong>macOS</strong> only."
369
369
) ;
370
+ assert_eq ! (
371
+ name_value_cfg( "target_os" , "wasi" ) . render_long_html( ) ,
372
+ "This is supported on <strong>WASI</strong> only."
373
+ ) ;
370
374
assert_eq ! (
371
375
name_value_cfg( "target_pointer_width" , "16" ) . render_long_html( ) ,
372
376
"This is supported on <strong>16-bit</strong> only."
You can’t perform that action at this time.
0 commit comments