diff options
| author | Joseph Ryan <josephry@google.com> | 2023-02-01 13:35:36 -0800 |
|---|---|---|
| committer | Joseph Ryan <josephry@google.com> | 2023-02-01 13:35:36 -0800 |
| commit | fb3857808253c3513ffff1f2c2b033081ae24cf5 (patch) | |
| tree | ada64a3e828b6ab1b9b01061c58ac998848eff43 | |
| parent | 11d96b59307b1702fffe871bfc2d0145d070881e (diff) | |
| download | rust-fb3857808253c3513ffff1f2c2b033081ae24cf5.tar.gz rust-fb3857808253c3513ffff1f2c2b033081ae24cf5.zip | |
Add proc-macro boilerplate to crt-static test
| -rw-r--r-- | tests/ui/proc-macro/crt-static.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/crt-static.rs b/tests/ui/proc-macro/crt-static.rs index 6103acb7b6b..020128fa214 100644 --- a/tests/ui/proc-macro/crt-static.rs +++ b/tests/ui/proc-macro/crt-static.rs @@ -5,6 +5,9 @@ // ignore-wasm32 // ignore-sgx no support for proc-macro crate type // build-pass +// force-host +// no-prefer-dynamic + #![crate_type = "proc-macro"] // FIXME: This don't work when crate-type is specified by attribute |
