]> git.lizzy.rs Git - rust.git/commit
Auto merge of #2368 - RalfJung:debug, r=oli-obk
authorbors <bors@rust-lang.org>
Fri, 15 Jul 2022 15:54:47 +0000 (15:54 +0000)
committerbors <bors@rust-lang.org>
Fri, 15 Jul 2022 15:54:47 +0000 (15:54 +0000)
commit86911fd8f610eb59e0f90909323f48229965c06c
tree731df37f0a5c0142401b295a96ca667781391abf
parent7b79801d23543598ff1dac39d386a338592616e3
parentd6cbe5d014c8c02ed4077ee702d34ea442c62e47
Auto merge of #2368 - RalfJung:debug, r=oli-obk

Make "./miri {build,run,test}" use debug assertions but "./miri install" not

This makes `./miri run`/`./miri test` use the full set of debug assertions (including the rather expensive ones that check consistency of the Stacked Borrows cache), but `./miri install` installs a Miri *without* those debug assertions.

That's the same behavior as cargo, and helps catch Miri bugs with the test suite while making installed Miri usable for larger runs.