Skip to content

fix(repo): revert to older nightly Rust for WASM builds#33797

Merged
FrozenPandaz merged 1 commit intomasterfrom
fix/revert-nightly-rust-version
Dec 10, 2025
Merged

fix(repo): revert to older nightly Rust for WASM builds#33797
FrozenPandaz merged 1 commit intomasterfrom
fix/revert-nightly-rust-version

Conversation

@FrozenPandaz
Copy link
Copy Markdown
Contributor

Current Behavior

The nightly-2025-12-10 Rust version removed mtim() from the WASI MetadataExt trait, causing the WASM build to fail with:

error[E0599]: no method named `mtim` found for reference `&std::fs::Metadata` in the current scope

Expected Behavior

WASM builds should compile successfully.

Solution

Revert to nightly-2025-05-09 which still has the mtim() API available in the WASI MetadataExt trait.

The nightly-2025-12-10 Rust removed `mtim()` from the WASI MetadataExt
trait, breaking the WASM build. Reverting to nightly-2025-05-09 which
still has the `mtim()` API.
@vercel
Copy link
Copy Markdown

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 9:07pm

@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 10, 2025

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit df66ac3
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/6939dfc9440f8e00087562d6
😎 Deploy Preview https://deploy-preview-33797--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
Copy Markdown
Contributor

nx-cloud Bot commented Dec 10, 2025

View your CI Pipeline Execution ↗ for commit df66ac3

Command Status Duration Result
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 2m 7s View ↗
nx affected --targets=lint,test,test-kt,build,e... ✅ Succeeded <1s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 12s 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 21:09:30 UTC

@FrozenPandaz FrozenPandaz merged commit 4147b62 into master Dec 10, 2025
20 checks passed
@FrozenPandaz FrozenPandaz deleted the fix/revert-nightly-rust-version branch December 10, 2025 21:18
FrozenPandaz added a commit that referenced this pull request Dec 15, 2025
## Current Behavior

The nightly-2025-12-10 Rust version removed `mtim()` from the WASI
`MetadataExt` trait, causing the WASM build to fail with:

```
error[E0599]: no method named `mtim` found for reference `&std::fs::Metadata` in the current scope
```

## Expected Behavior

WASM builds should compile successfully.

## Solution

Revert to `nightly-2025-05-09` which still has the `mtim()` API
available in the WASI `MetadataExt` trait.
@github-actions
Copy link
Copy Markdown
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.

2 participants