Results 88 issues of Jamey Sharp

#### Feature When any optimization level is enabled, Cranelift runs e-graph equality saturation, which removes all pure instructions from the function layout and leaves only a data-flow graph representation. We...

cranelift
cranelift:goal:optimize-speed
cranelift:mid-end

I thought it would be easiest to describe the issue I'm encountering with a patch, but I'm not attached to this particular solution if folks would prefer some other approach....

I'm sometimes seeing this panic kill a thread that's handling an incoming HTTP request: ``` thread 'tokio-runtime-worker' panicked at lib/src/session/downstream.rs:52:54: response receiver is open: () ``` Viceroy continues running afterward...

Viceroy produces quite a bit of output per request, and it's not clear to me which parts are important. It'd be nice to have a conversation about exactly what _should_...

feature-ux

I think `pending_req_poll` should call [`tokio::task::yield_now`](https://docs.rs/tokio/latest/tokio/task/fn.yield_now.html) before [returning when the request is not ready](https://github.com/fastly/Viceroy/blob/92a7080e1b34275e25a8d8c661a5522474f348aa/lib/src/wiggle_abi/req_impl.rs#L609). A guest which invokes that hostcall in a loop, like the [upstream-async test fixture](https://github.com/fastly/Viceroy/blob/main/test-fixtures/src/bin/upstream-async.rs), may not...

OSS-Fuzz reported this as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=69209. I've minimized the test case and identified several related panics, all with the message "unimplemented for > 64 bits". This is not a security issue...

bug
fuzz-bug

As far as I can tell, when functions use a `return` instruction rather than falling off the end, fuel was not being tracked correctly. The `fuel_function_exit` method was only called...

cranelift
cranelift:wasm

When we're compiling a WebAssembly module that contains a DWARF `.debug_lines` section, this commit adds comments to the output of `wasmtime compile --emit-clif` indicating which file/line/column each block of CLIF...