Skip to content

Commit

Permalink
use target feature and not target name
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed Feb 11, 2025
1 parent 5345620 commit 2f47dd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ui/invalid-compile-flags/crate-type-flag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
//@[staticlib] compile-flags: --crate-type=staticlib
//@[staticlib] check-pass

//@[dylib] ignore-musl (dylibs are not supported)
//@[dylib] ignore-musl (dylibs are supported, but target is statically linked by default)
//@[dylib] ignore-wasm (dylibs are not supported)
//@[dylib] compile-flags: --crate-type=dylib
//@[dylib] check-pass

//@[cdylib] ignore-musl (cdylibs are not supported)
//@[cdylib] ignore-musl (dylibs are supported, but target is statically linked by default)
//@[cdylib] compile-flags: --crate-type=cdylib
//@[cdylib] check-pass

Expand Down

0 comments on commit 2f47dd8

Please sign in to comment.