Created
October 16, 2023 20:43
-
-
Save brson/6639532cbc15cf117dbb545cfdafbe92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start from the 0.114.1 branch | |
Add a "dwarf" feature to wasm-opt, non-default | |
Add a "dwarf" feature to wasm-opt-sys, non-default | |
Have the wasm-opt dwarf feature activate the wasm-opt-sys dwarf feature | |
In wasm-opt-sys build.rs: | |
If the CARGO_FEATURE_DWARF is not set: | |
Don't include the "llvm_files" | |
Don't set the BUILD_LLVM_DWARF build flags | |
In conformance-tests disable the dwarf_line_info test when dwarf is not defined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment