-
-
Notifications
You must be signed in to change notification settings - Fork 570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(plugins): make rust plugin stage compatible with webpack #7942
base: main
Are you sure you want to change the base?
fix(plugins): make rust plugin stage compatible with webpack #7942
Conversation
✅ Deploy Preview for rspack ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
6fa723a
to
149dd33
Compare
can you add test about it, try pass Infinity to stage and see whether it works |
@hardfist sure, will do and let you know |
4a7f682
to
d55e2a9
Compare
@@ -1419,7 +1419,7 @@ impl NormalModuleFactoryResolve for NormalModuleFactoryResolveTap { | |||
} | |||
|
|||
fn stage(&self) -> i32 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should change to f64 too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but there ara hard implications when I change it :) Let me show you @hardfist
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hardfist When I change it, I see this while bouilding:
And it seems I need to align way more code...
b995597
to
e4afa28
Compare
Summary
see #7862
Checklist