Skip to content

Commit

Permalink
Remove force-host and explain no-prefer-dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
phansch committed Apr 8, 2019
1 parent 547c5c0 commit 3ab8038
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/ui/crashes/auxiliary/proc_macro_crash.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// force-host
// no-prefer-dynamic
// ^ compiletest by default builds all aux files as dylibs, but we don't want that for proc-macro
// crates. If we don't set this, compiletest will override the `crate_type` attribute below and
// compile this as dylib. Removing this then causes the test to fail because a `dylib` crate can't
// contain a proc-macro.

#![feature(repr128)]
#![crate_type = "proc-macro"]
Expand Down

0 comments on commit 3ab8038

Please sign in to comment.