bytecodealliance / lucet

Lucet, the Sandboxing WebAssembly Compiler.
Apache License 2.0
4.06k stars 165 forks source link

Add release mode testing to CI #501

Closed pchickey closed 4 years ago

pchickey commented 4 years ago

Adds makefile targets and CI jobs to test in --release mode, and fixes all tests to work in that mode.

Optimizations run in release builds which often lead to dead-code-elimination or link-time garbage collection opportunities, and change how our runtime dynamic linking ends up working. This testing should prevent further regressions like we had when upgrading to rust 1.42.