mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-13 12:23:38 +01:00
The step ran `cargo nextest` in `nix develop`, whose default shell exports CARGO_BUILD_TARGET=x86_64-pc-windows-msvc for the Windows cross build. On the macOS runner that made cargo build the recorder's test executables for Windows, and nextest then failed to list them: for `komorebi-recorder::assert`, command `.../target/x86_64-pc-windows-msvc/debug/deps/assert-ce31ab528bf795df.exe --list --format terse` exited with exit code 126 ... cannot execute binary file Use `nix develop .#native`, the shell without the cross environment that exists for exactly these `cargo -p komorebi-<platform>` commands. The schemas step keeps the default shell: `just jsonschema` runs cargo through `env -u CARGO_BUILD_TARGET`. docs/dev/ci.md notes the shell.