Skip to content

Commit

Permalink
Use current stable Rust to build non-release dynamic glibc version
Browse files Browse the repository at this point in the history
  • Loading branch information
hillu committed May 16, 2024
1 parent fa3c853 commit 5550968
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,18 @@ jobs:
build_dynamic_glibc:
runs-on: ubuntu-latest
container: debian:bookworm-slim
container: debian:trixie-slim
steps:
- name: Prepare
run: |
apt-get -qq update
apt-get -qqy upgrade
apt-get -qqy install ca-certificates rustc cargo clang libacl1-dev jq file
apt-get -qqy install ca-certificates clang libacl1-dev jq file curl
- name: Install Rust toolchain (stable)
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions/checkout@v2
- name: Build
run: |
Expand Down
4 changes: 1 addition & 3 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,13 @@ pub struct Filter {
pub filter_action: FilterAction,
}

#[derive(Debug, Serialize)]
#[derive(Default)]
#[derive(Debug, Serialize, Default)]
pub enum Input {
#[default]
Stdin,
Unix(PathBuf),
}


impl std::fmt::Display for Input {
fn fmt(&self, fmt: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> {
match self {
Expand Down

0 comments on commit 5550968

Please sign in to comment.