Skip to content

raytrace-parallel example does not compile (passive-segments) #2175

Closed
@beltegeuse

Description

@beltegeuse

Describe the Bug

The example raytrace-parallel does not compile.

Steps to Reproduce

  1. git clone https://github.com/rustwasm/wasm-bindgen.git
  2. cd wasm-bindgen/examples/raytrace-parallel
  3. sh build.sh
  4. Got the error note: rust-lld: error: unknown argument: --passive-segments

Expected Behavior

The code should compile. I played with this example last Sunday, and the code was compiling and running correctly.

Actual Behavior

The code currently does not compile with rust nightly (May 31th).

Additional Context

Note that, removing RUSTFLAGS='-C target-feature=+atomics,+bulk-memory' fix the compilation problem. However, this provokes a runtime error (due to missing feature), which, I think, is expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions