Cranelift: Correctly wrap shifts in constant propagation (#5695)

Fixes #5690
Fixes #5696

Co-authored-by: Jamey Sharp <jsharp@fastly.com>
This commit is contained in:
Nick Fitzgerald
2023-02-02 16:12:57 -08:00
committed by GitHub
parent fd67ccf9cd
commit 72c8513411
10 changed files with 176 additions and 35 deletions

View File

@@ -24,6 +24,7 @@ pub fn run(path: &Path, wat: &str) -> Result<()> {
let config: TestConfig =
toml::from_str(&config_text).context("failed to parse the test configuration")?;
log::debug!("Wasm test config = {config:#?}");
config
.validate()