Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/low-priority-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ jobs:
- name: check
run: cargo check --target wasm32-wasip1

windows:
name: check windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- name: check
run: cargo check

# some unix specific crates might reject windows while it supports this...
cygwin:
name: check cygwin
runs-on: windows-latest
Expand Down
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ memchr.workspace = true
thiserror.workspace = true
tracing.workspace = true
bumpalo.workspace = true
rustix = { version = "1.1.4", default-features = false, features = ["process"]}
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
tracing-error = "0.2.1"
clap = { version = "4.6.1", features = ["derive"] }
Expand Down
3 changes: 2 additions & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ use std::panic::{UnwindSafe, catch_unwind, set_hook, take_hook};
use std::process::exit;

use color_eyre::config::HookBuilder;
use rustix::process::{EXIT_FAILURE, EXIT_SUCCESS};
use tracing_error::ErrorLayer;
use tracing_subscriber::prelude::*;

type ExitCode = i32;

const AWK_PANIC_CODE: ExitCode = 2;
const EXIT_FAILURE: ExitCode = 1;
const EXIT_SUCCESS: ExitCode = 0;

fn install_abort_hook() {
let run_hook = take_hook();
Expand Down
Loading