bytecodealliance / bytecodealliance/wasmtime

ISLE: consider using `let x = if let Some(x) = foo() { x } else { return None; }` instead of `let x = foo()?;` in emitted code

Open
#3,530 0 comments 0 reactions 0 assignees View on GitHub
isle
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 19h
Merged PRs (30d)
121

Description

This will improve debug build times for Cranelift.

We should only do this once ISLE itself settles down a bit and we aren't debugging generated code often, or care as much about readability of the generated code anymore.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.