From ba9162650be622113a4213adccf5aacf5caba102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=9D=B0=E5=8F=8B=20Jieyou=20Xu=20=28Joe=29?= <39484203+jieyouxu@users.noreply.github.com> Date: Tue, 5 Nov 2024 03:31:29 +0800 Subject: [PATCH] Fix missing directives in test example --- posts/inside-rust/2024-11-04-test-infra-oct-2024-2.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/posts/inside-rust/2024-11-04-test-infra-oct-2024-2.md b/posts/inside-rust/2024-11-04-test-infra-oct-2024-2.md index d907cc96b..00e68c95c 100644 --- a/posts/inside-rust/2024-11-04-test-infra-oct-2024-2.md +++ b/posts/inside-rust/2024-11-04-test-infra-oct-2024-2.md @@ -75,6 +75,10 @@ Example usage: ```rs // tests/ui/abi/my-abi-test.rs +//@ add-core-stubs +//@ compile-flags: --target x86_64-pc-windows-msvc +//@ needs-llvm-components: x86 + #![crate_type = "lib"] #![feature(no_core)] #![no_std]