Skip to content

Commit ba91626

Browse files
committed
Fix missing directives in test example
1 parent c37230d commit ba91626

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

posts/inside-rust/2024-11-04-test-infra-oct-2024-2.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ Example usage:
7575
```rs
7676
// tests/ui/abi/my-abi-test.rs
7777

78+
//@ add-core-stubs
79+
//@ compile-flags: --target x86_64-pc-windows-msvc
80+
//@ needs-llvm-components: x86
81+
7882
#![crate_type = "lib"]
7983
#![feature(no_core)]
8084
#![no_std]

0 commit comments

Comments
 (0)