Wgpu: CI failure on Nightly: "error: legacy asm! syntax is no longer supported"

Created on 22 May 2020  路  3Comments  路  Source: gfx-rs/wgpu

This is from cargo test, apparently due to the generator crate, brought in via loom. Example CI failure. This is because asm! is being renamed to llvm_asm! (tracking issue).

Possible solutions:

  1. Fix the generator crate
  2. Figure out some way to cfg away the asm! code. I'm not sure if loom even uses that stuff.
  3. Don't run loom on nightly
  4. Ignore the CI failures for now
question

All 3 comments

We should probably file it to the generator crate, unless it's filed already.

Fair enough. I made PR https://github.com/Xudong-Huang/generator-rs/pull/20 to fix the issue, so hopefully it should be a matter of waiting until that change is merged and propagated upwards.

Now that generator has released 0.6.21, this is fixed. 馃憤

Was this page helpful?
0 / 5 - 0 ratings