rust-webpack-template icon indicating copy to clipboard operation
rust-webpack-template copied to clipboard

Cargo complains about debug_assertions optional dependencies won't work

Open ishitatsuyuki opened this issue 5 years ago • 1 comments

Describe the Bug

See the descriptive Cargo warning message:

warning: Found debug_assertions in target.'cfg(...)'.dependencies. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies

Steps to Reproduce

wasm-pack build

ishitatsuyuki avatar Feb 28 '20 02:02 ishitatsuyuki

I created PR( #168 ) to solve this issue. Please review to merge.

yokra9 avatar Aug 01 '20 15:08 yokra9