-
Notifications
You must be signed in to change notification settings - Fork 18
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
Migrate away from winapi 0.2 #42
Comments
Noticed similar results trying out For p.s. notify is currently looking for new maintainers notify-rs/notify#209 |
@memoryruins Awesome thanks! |
|
Maybe it's possible to do the semver tricks and make 0.2 crates reexports of 0.3 one |
Fixing wasmer: wasmerio/wasmer#948 |
The page_size maintainer finally woke up and merged my pull request, so as soon as wasmer upgrades to a new page_size, we'll be down to a single remaining dependency on winapi 0.2! (mio) |
Nice, and |
|
Still waiting for Also noticed that the old winapi 0.2 doesn't support building for |
Not that I don't mind getting rid of 0.2, but is Windows Arm actually a relevant target? |
@Jake-Shadle in general no 😀 but something I'm personally just curious about experimenting with |
Windows Arm might become important in the coming years. Or not. Time will tell. It's unclear what's holding Tokio up from upgrading though... |
New now just need |
Now finally with the major |
|
Thanks to the new Cargo nightly
-Z timings
I saw that our 3.5 min Windows release build was spending 65 seconds building just the oldwinapi 0.2
crate.The wall time itself, while very high, is not a major problem as this was a larger from scratch build and lots of cores available, but what the timings clearly showed was that it pushed out a lot of build steps because there were tons of small and big crates that had dependencies on
winapi 0.2
directly or indirectly and as such couldn't even start until that had been built.So want to fully get rid of
winapi 0.2
crate in our builds and migrate the crates that we are using to the faster and betterwinapi 0.3
or, in some cases, remove them.Current crates that use (directly or indirectly) that uses
winapi 0.2
:iovec:
: This is the most important as huge ecosystem depend on this small crate. PR fix filedapp_dirs:
Abandoned crate, switched toapp_dirs2
instead and PR fix was merged & published in 7 minutes (!)mio
: In-progress v0.7 is using latest winapi, v0.6 will stay onwinapi 0.2
. May just have to wait for v0.7?notify
: Unmaintained crate, leaf dependency so less important but should find alternative or get it updated. Related PR: Dependencies: Update winapi and remove kernel32-sys notify-rs/notify#217wasmer-runtime-core
: From page_size. Is there a more modern/maintained equivalent that they can switch to?tokio
Update to mio 0.7 tokio: update to mio 0.7 tokio-rs/tokio#1190tokio
0.3winit
uses mio 0.6Once we have those resolved:, we want to allow be able to disallow
winapi 0.2
in our projects:cargo-deny
: Disallow specific versions of crates? cargo-deny#28The text was updated successfully, but these errors were encountered: