]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #53321 - alexcrichton:wasm-target-feature, r=nikomatsakis
authorCorey Farwell <coreyf@rwell.org>
Fri, 17 Aug 2018 15:23:34 +0000 (08:23 -0700)
committerGitHub <noreply@github.com>
Fri, 17 Aug 2018 15:23:34 +0000 (08:23 -0700)
commitc3b7483559f4c54ee6717a5d599352be0df2882a
tree80a2cf17f7d70a0d7759b717030d59ce4de14172
parent2578036f47a1084e063452e32cfa03ec0f86edb8
parent2438cfc755edb27637a928806ecf07878f7d8bde
Rollup merge of #53321 - alexcrichton:wasm-target-feature, r=nikomatsakis

Fix usage of `wasm_target_feature`

Currently usage results in:

```
error: internal compiler error: librustc_typeck/collect.rs:1928: unknown target feature gate wasm_target_feature

thread 'main' panicked at 'Box<Any>', librustc_errors/lib.rs:579:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: aborting due to previous error

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.30.0-nightly (d5a448b3f 2018-08-13) running on x86_64-unknown-linux-gnu

note: compiler flags: -C debuginfo=2 -C linker=/tmp/lld-shim -C incremental --crate-type lib

note: some of the compiler flags provided by cargo are hidden

error: Could not compile `coresimd`.

To learn more, run the command again with --verbose.
```

and hopefully this should fix the ICE!