Skip to content

Commit

Permalink
Pin linux sysroot to >= 2.17 (#16)
Browse files Browse the repository at this point in the history
In order to avoid issues whenever a C++ binary links with rustc produced
libraries
  • Loading branch information
Wumpf authored Oct 17, 2024
1 parent 3c2e9cd commit 1f3188c
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: prefix-dev/setup-pixi@v0.5.2
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: v0.19.0
pixi-version: v0.26.1
cache: true

- run: pixi run build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: prefix-dev/setup-pixi@v0.5.2
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: v0.19.0
pixi-version: v0.26.1
cache: true

- run: pixi run py-fmt-check
Expand Down
37 changes: 19 additions & 18 deletions pixi.lock

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

6 changes: 6 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,9 @@ types-requests = ">=2.31,<3" # mypy type hint stubs for generate_changelog.py

# General stuff:
typos = ">=1.16.20"

[target.linux-64.dependencies]
sysroot_linux-64 = ">=2.17,<3" # rustc 1.64+ requires glibc 2.17+, see https://blog.rust-lang.org/2022/08/01/Increasing-glibc-kernel-requirements.html

[target.linux-aarch64.dependencies]
sysroot_linux-aarch64 = ">=2.17,<3" # rustc 1.64+ requires glibc 2.17+, see https://blog.rust-lang.org/2022/08/01/Increasing-glibc-kernel-requirements.html

0 comments on commit 1f3188c

Please sign in to comment.