Skip to content

Commit

Permalink
This test will not link on wasm32.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Nov 7, 2018
1 parent e7f8c0d commit 34ffbdb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/test/ui/extern/extern-const.fixed
@@ -1,11 +1,11 @@
// This test is checking that extern items cannot be const. It also
// checks that `rustfix` suggests the alternative of using an extern
// static.
// Check extern items cannot be const + `rustfix` suggests using
// extern static.
//
// #54388: an unused reference to an undefined static may or may not
// compile. To sidestep this by using one that *is* defined.

// run-rustfix
// ignore-wasm32 no external library to link to.
// compile-flags: -g -Z continue-parse-after-error
#![feature(libc)]
extern crate libc;
Expand Down
6 changes: 3 additions & 3 deletions src/test/ui/extern/extern-const.rs
@@ -1,11 +1,11 @@
// This test is checking that extern items cannot be const. It also
// checks that `rustfix` suggests the alternative of using an extern
// static.
// Check extern items cannot be const + `rustfix` suggests using
// extern static.
//
// #54388: an unused reference to an undefined static may or may not
// compile. To sidestep this by using one that *is* defined.

// run-rustfix
// ignore-wasm32 no external library to link to.
// compile-flags: -g -Z continue-parse-after-error
#![feature(libc)]
extern crate libc;
Expand Down

0 comments on commit 34ffbdb

Please sign in to comment.