Skip to content

Commit b0c4ae4

Browse files
committed
Merge main into native function ownership fix
Assisted-by: Codex:gpt-6
2 parents a997f2b + bd8fdb7 commit b0c4ae4

158 files changed

Lines changed: 4478 additions & 8154 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.cargo/config.toml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ rustflags = ["--cfg=getrandom_backend=\"wasm_js\""]
1010
# Enforce a 1 MB stack limit for WASI targets.
1111
# (Runaway heap growth is fixed by the smaller DataStack chunk
1212
# and the size‑optimized wasm‑release profile.)
13+
1314
[target.wasm32-wasip1]
1415
rustflags = [
1516
"-C", "link-arg=-zstack-size=1048576",
17+
"-L", "crates/host_env/vendor/wasm32-wasip1",
18+
"-l", "wasi-emulated-signal",
1619
]
1720

1821
[target.wasm32-wasip2]

‎.github/workflows/ci.yaml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,10 @@ jobs:
295295
working-directory: crates/capi
296296
run: cargo test --doc --locked
297297

298+
- name: Check host_env without ctypes
299+
if: env.RUN_RUST_TESTS == 'true' && runner.os == 'Windows'
300+
run: cargo check --locked -p rustpython-host_env --no-default-features --lib
301+
298302
- name: check compilation without host_env (sandbox mode)
299303
if: env.RUN_RUST_TESTS == 'true' && runner.os == 'Linux'
300304
run: |
@@ -559,6 +563,7 @@ jobs:
559563
560564
- name: Run CPython tests
561565
run: |
566+
# shellcheck disable=SC2086
562567
target/release/rustpython -u -m test --slow-ci -j "$CORES" $EXTRA_TEST_ARGS $SKIPS
563568
timeout-minutes: ${{ matrix.timeout }}
564569
shell: bash
@@ -725,7 +730,7 @@ jobs:
725730

726731
- uses: dtolnay/rust-toolchain@stable
727732

728-
- uses: taiki-e/install-action@94c31af3204a9f15ab40b35ad084410b905bbc73 # v2.87.17
733+
- uses: taiki-e/install-action@4cef1412cce204788f482e778a0b9187f9626a29 # v2.87.21
729734
with:
730735
tool: cargo-shear
731736
fallback: none
@@ -754,7 +759,7 @@ jobs:
754759
components: rustfmt
755760

756761
- name: actionlint
757-
uses: reviewdog/action-actionlint@320fcdd9c860767cf17fab3b20e22e739d5d02b8 # v1.76.0
762+
uses: reviewdog/action-actionlint@2085657ab2c7f48c58edcc767fba576f63bea76b # v1.77.0
758763

759764
- name: zizmor
760765
uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4

‎.github/workflows/cron-ci.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- uses: dtolnay/rust-toolchain@stable
3535

36-
- uses: taiki-e/install-action@94c31af3204a9f15ab40b35ad084410b905bbc73 # v2.87.17
36+
- uses: taiki-e/install-action@4cef1412cce204788f482e778a0b9187f9626a29 # v2.87.21
3737
with:
3838
tool: cargo-llvm-cov
3939

‎.github/workflows/upgrade-pylib.lock.yml‎

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.pre-commit-config.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
priority: 0
1111

1212
- repo: https://github.com/astral-sh/ruff-pre-commit
13-
rev: v0.16.8
13+
rev: v0.16.9
1414
hooks:
1515
- id: ruff-format
1616
priority: 0
@@ -77,7 +77,7 @@ repos:
7777
priority: 0
7878

7979
- repo: https://github.com/rbubley/mirrors-prettier
80-
rev: v3.9.8
80+
rev: v3.9.9
8181
hooks:
8282
- id: prettier
8383
files: '^wasm/.*$'

0 commit comments

Comments
 (0)