Gary Guo

Results 147 comments of Gary Guo

This really needs rebasing now.

> * `unwind` — I _think_ this is applicable too, although it's a bit confusing I feel this is a fast track to UB, unless we have MIR validations to...

If we have `nounwind_fn()` is the previous frame, then the MIR will be `call nounwind_fn() -> [return ..., unwind unreachable]`, which means the `unwind` in the code you pointed to...

> When can we generate `call nounwind_fn() -> [return ..., unwind unreachable]`? I.e. where should we account for the fact that tail calls can potentially unwind? The unwindability is part...

This works on nightly, if TAIT is enabled: ```rust type F = impl FnOnce() -> (); static L: LazyLock = LazyLock::new(|| ()); ```

Does `/tmp/.X0-lock` or `/tmp/.X11-unix/X0` exist?

Can you check if the content of `/tmp/.X0-lock` matches the PID of WSLD?

> When I run any program, I can see no error as if it was successfully running in the background with missing GUI. I have noticed that x410 in floating...

I just did a fresh installation of Windows + WSL + Ubuntu 22.04, but cannot reproduce it. The X forwarding works fine for me. Could you give the exact command...

Try launching wsld without any command line and execute `xset q` in WSL.