Skip to content

Conversation

@boringcactus
Copy link

I think this looks a little bit uglier with cfg-if, but I’m not the one whose taste matters the most, so I can swap that in if you’d prefer.

fasterthanlime added a commit that referenced this pull request Dec 11, 2025
Make executable bit handling conditional on Unix platforms:
- Add #[cfg(unix)] to PermissionsExt import
- Make Job.executable field Unix-only
- Conditionally check/set executable bits only on Unix
- On Windows, skip executable bit checks entirely

Co-authored-by: boringcactus <[email protected]>
fasterthanlime added a commit that referenced this pull request Dec 11, 2025
* Add pre-push subcommand and update dependencies

- Implement `pre-push` subcommand that runs targeted checks on modified crates
  - Detects changed files since merge-base with origin/main
  - Identifies affected crates from file paths
  - Runs clippy, tests, and doc-tests only for affected crates
  - Provides clear, colorized output for check results

- Update dependencies:
  - fs-err: 3.1.0 -> 3.2.0
  - log: 0.4.27 -> 0.4.29
  - owo-colors: 4.2.1 -> 4.2.3

- Update GitHub Actions:
  - actions/checkout: v5 -> v6
  - github/codeql-action: v3 -> v4

Resolves facet-rs/facet#1247

* Add Windows compatibility (merge PR #9)

Make executable bit handling conditional on Unix platforms:
- Add #[cfg(unix)] to PermissionsExt import
- Make Job.executable field Unix-only
- Conditionally check/set executable bits only on Unix
- On Windows, skip executable bit checks entirely

Co-authored-by: boringcactus <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant