Skip to content

Commit

Permalink
Fix used(linker) build of new Windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Oct 7, 2023
1 parent 2bc31bf commit 3acf1c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/win_status_access_violation.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg_attr(feature = "used_linker", feature(used_with_arg))]

use linkme::distributed_slice;

#[distributed_slice]
Expand Down
2 changes: 2 additions & 0 deletions tests/win_status_illegal_instruction.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg_attr(feature = "used_linker", feature(used_with_arg))]

use linkme::distributed_slice;

pub struct Item {
Expand Down

0 comments on commit 3acf1c2

Please sign in to comment.