Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@FrozenPandaz
Copy link
Collaborator

Current Behavior

After the mise migration (#33772), the publish.yml workflow fails during the "Build Wasm" step with:

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> packages/nx/src/lib.rs:2:33
  |
2 | #![cfg_attr(target_os = "wasi", feature(wasi_ext))]

The WASM build requires nightly Rust because it uses the unstable wasi_ext feature. The build:wasm script attempts to switch to nightly via rustup override set, but after the mise migration, the nightly toolchain is no longer pre-installed, causing the build to fail with the stable compiler.

Expected Behavior

The WASM build should successfully compile using nightly Rust with the wasi_ext feature.

Related Issue(s)

Fixes the publish workflow regression introduced in #33772

The mise migration removed the pre-installed nightly Rust toolchain
that was available on ubuntu-latest runners. The WASM build requires
nightly Rust because it uses the unstable `wasi_ext` feature.

Changes:
- Add explicit `rustup toolchain install nightly-2025-12-10` before WASM build
- Update build:wasm script from old nightly-2025-05-09 to nightly-2025-12-10

This ensures the nightly toolchain is available before the build
script attempts to use it via `rustup override set`.
@FrozenPandaz FrozenPandaz requested review from a team as code owners December 10, 2025 18:22
@vercel
Copy link

vercel bot commented Dec 10, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Dec 10, 2025 6:28pm

@netlify
Copy link

netlify bot commented Dec 10, 2025

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit c37d913
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/6939ba559e38e90008ead510
😎 Deploy Preview https://deploy-preview-33792--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud
Copy link
Contributor

nx-cloud bot commented Dec 10, 2025

View your CI Pipeline Execution ↗ for commit c37d913

Command Status Duration Result
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 2m 13s View ↗
nx affected --targets=lint,test,test-kt,build,e... ✅ Succeeded <1s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 11s View ↗
nx-cloud record -- nx format:check ✅ Succeeded <1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-10 18:59:51 UTC

@FrozenPandaz FrozenPandaz merged commit 0d7ecb9 into master Dec 10, 2025
20 checks passed
@FrozenPandaz FrozenPandaz deleted the fix-publish-wasm-nightly branch December 10, 2025 19:08
FrozenPandaz added a commit that referenced this pull request Dec 15, 2025
…33792)

## Current Behavior

After the mise migration (#33772), the `publish.yml` workflow fails
during the "Build Wasm" step with:

```
error[E0554]: `#![feature]` may not be used on the stable release channel
 --> packages/nx/src/lib.rs:2:33
  |
2 | #![cfg_attr(target_os = "wasi", feature(wasi_ext))]
```

The WASM build requires nightly Rust because it uses the unstable
`wasi_ext` feature. The `build:wasm` script attempts to switch to
nightly via `rustup override set`, but after the mise migration, the
nightly toolchain is no longer pre-installed, causing the build to fail
with the stable compiler.

## Expected Behavior

The WASM build should successfully compile using nightly Rust with the
`wasi_ext` feature.

## Related Issue(s)

Fixes the publish workflow regression introduced in #33772
@github-actions
Copy link
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants