Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builds failing with 'unsupported custom section: '.debug_info'' #116

Closed
dhardy opened this issue Jul 13, 2018 · 2 comments
Closed

Builds failing with 'unsupported custom section: '.debug_info'' #116

dhardy opened this issue Jul 13, 2018 · 2 comments

Comments

@dhardy
Copy link

dhardy commented Jul 13, 2018

Recent Rand builds seem to be failing with this error:

$ cargo --list | egrep "^\s*web$" -q || cargo install cargo-web
$ cargo web test --target wasm32-unknown-unknown --nodejs --features=stdweb
warning: debug builds on the wasm32-unknown-unknown are currently totally broken
         forcing a release build
   Compiling <...>
    Finished release [optimized] target(s) in 2m 39s
    Garbage collecting "rand-dfadd5273a3b9286.wasm"...
    Processing "rand-dfadd5273a3b9286.wasm"...
thread 'main' panicked at 'unsupported custom section: '.debug_info'', src/wasm_context.rs:646:25
note: Run with `RUST_BACKTRACE=1` for a backtrace.

(Example)

Any idea what's up? (It could be due to outdated versions of cargo-web installed in our CI cache due to avoiding the update, I suppose.)

@kirillt
Copy link

kirillt commented Jul 13, 2018

I have the same on clean Ubuntu 17.10 VM.

  • cargo-web 0.6.13
  • stdweb 0.4.7
  • rust nightly

@koute
Copy link
Owner

koute commented Jul 13, 2018

Thanks for the report! Should be fixed in 0.6.14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants