Xudong-Huang / generator-rs

rust stackful generator library
Apache License 2.0
286 stars 35 forks source link

Compile failure on Windows with Rust Nightly #24

Closed kvark closed 3 years ago

kvark commented 3 years ago
error: could not compile `generator`.

Caused by:
  process didn't exit successfully: `rustc --crate-name generator --edition=2018 C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\generator-0.6.21\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -Cembed-bitcode=no -C debuginfo=2 -C metadata=374606f5dac045c8 -C extra-filename=-374606f5dac045c8 --out-dir D:\a\wgpu\wgpu\target\debug\deps -L dependency=D:\a\wgpu\wgpu\target\debug\deps --extern log=D:\a\wgpu\wgpu\target\debug\deps\liblog-a8bc277de1943a86.rmeta --extern winapi=D:\a\wgpu\wgpu\target\debug\deps\libwinapi-762dcc63287a8a1e.rmeta --cap-lints allow --cfg nightly` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
warning: build failed, waiting for other jobs to finish...
error: build failed

See https://github.com/gfx-rs/wgpu/runs/1022537234

kvark commented 3 years ago

Is this crate unmaintained? Having it broken on nightly for 2+ weeks without any response is worrying.

Xudong-Huang commented 3 years ago

@kvark sorry, I will look into this issue this weekend.

Xudong-Huang commented 3 years ago

may related with https://github.com/rust-lang/rust/issues/75922

Xudong-Huang commented 3 years ago

Disable the nightly asm build and use the stable asm file instead. This also remove several nightly feature dependencies. Now version 0.6.22 should work again.