agent-joule/crates/gpui_windows
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Charlot dac4a08cd8
Some checks failed
congrats.yml / gpui_windows: interior mutability for the threadpool handlers (push) Failing after 0s
deploy_docs.yml / gpui_windows: interior mutability for the threadpool handlers (push) Failing after 0s
deploy_nightly_docs.yml / gpui_windows: interior mutability for the threadpool handlers (push) Failing after 0s
extension_bump.yml / gpui_windows: interior mutability for the threadpool handlers (push) Failing after 0s
Agent Joule Release (Windows) / windows (push) Failing after 19m37s
Agent Joule Release (Linux) / linux (clang, clang++, x86_64-unknown-linux-gnu, ubuntu-22.04) (push) Has been cancelled
Agent Joule Release (Linux) / linux (gcc-14, g++-14, aarch64-unknown-linux-gnu, ubuntu-22.04-arm) (push) Has been cancelled
release / run_tests_mac (push) Has been cancelled
release / run_tests_linux (push) Has been cancelled
release / run_tests_windows (push) Has been cancelled
release / clippy_mac (push) Has been cancelled
release / clippy_linux (push) Has been cancelled
release / clippy_windows (push) Has been cancelled
release / check_scripts (push) Has been cancelled
release / create_draft_release (push) Has been cancelled
release / compliance_check (push) Has been cancelled
release / bundle_linux_aarch64 (push) Has been cancelled
release / bundle_linux_x86_64 (push) Has been cancelled
release / bundle_mac_aarch64 (push) Has been cancelled
release / bundle_mac_x86_64 (push) Has been cancelled
release / bundle_windows_aarch64 (push) Has been cancelled
release / bundle_windows_x86_64 (push) Has been cancelled
release / upload_release_assets (push) Has been cancelled
release / validate_release_assets (push) Has been cancelled
release / release_compliance_check (push) Has been cancelled
release / auto_release_preview (push) Has been cancelled
release / push_release_update_notification (push) Has been cancelled
run_tests / orchestrate (push) Has been cancelled
run_tests / check_style (push) Has been cancelled
run_tests / clippy_windows (push) Has been cancelled
run_tests / clippy_linux (push) Has been cancelled
run_tests / clippy_mac (push) Has been cancelled
run_tests / clippy_mac_x86_64 (push) Has been cancelled
run_tests / run_tests_windows (push) Has been cancelled
run_tests / run_tests_linux (push) Has been cancelled
run_tests / run_tests_mac (push) Has been cancelled
run_tests / miri_scheduler (push) Has been cancelled
run_tests / doctests (push) Has been cancelled
run_tests / check_workspace_binaries (push) Has been cancelled
run_tests / build_visual_tests_binary (push) Has been cancelled
run_tests / check_wasm (push) Has been cancelled
run_tests / check_dependencies (push) Has been cancelled
run_tests / check_docs (push) Has been cancelled
run_tests / check_licenses (push) Has been cancelled
run_tests / check_scripts (push) Has been cancelled
run_tests / check_postgres_and_protobuf_migrations (push) Has been cancelled
run_tests / tests_pass (push) Has been cancelled
gpui_windows: interior mutability for the threadpool handlers
The windows crate now types WorkItemHandler/TimerElapsedHandler callbacks as
`Fn`, not `FnMut`, so capturing `let mut task_wrapper = Some(runnable)` and
calling .take() no longer borrow-checks:

  error[E0596]: cannot borrow `task_wrapper` as mutable, as it is a captured
                variable in a `Fn` closure

Hold the once-only runnable in a Mutex instead. Also drops the .unwrap() on
take() — the handler fires once, but an if-let costs nothing and cannot panic
inside a callback the OS threadpool invokes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-07-18 04:32:56 -04:00
..
src gpui_windows: interior mutability for the threadpool handlers 2026-07-18 04:32:56 -04:00
build.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
Cargo.toml Upgrade to Rust 1.97 and the latest dependency versions 2026-07-17 18:42:09 -04:00
LICENSE-APACHE Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00