Conversation
Run `cargo update -p tempfile` to bump `tempfile` and remove unmaintained dependency `instant`.
|
Looks like the bitflags version bump leads to a dependency on std (see CI errors). We probably need to disable some default features or enable a no_std feature. |
|
Updating tempfile also requires updating rustix. The old rustix version didn't depend on bitflags 2.0, but the new one does. rustix being a std crate, it enables the std feature in bitflags 2.0. The only way to fix this I can think of is to remove the tempfile dependency altogether. We could either continue writing to a file and just create the file ourselves or do the processing in-memory. I have patches for the latter, but I'm a little concerned that some users might want to build large-ish images and they might not like the increased memory usage. Another thing to keep in mind is that the |
|
Yes, it looks like the dependencies updated in this PR have introduced new problems. I am going to close this PR because it does not completely solve the issue. |
|
I think the feature unification only occurs because we run We don't really need to run a separate check command for the test kernels because the they are already built as artifact dependencies in the I'll open a PR for this. |
Yes, that's correct.
This should work, but keep in mind that rust-analyzer also uses --all, so if we break --all, this will impact the LSP experience for some (most?) users. |
Hmm, good point. Only when working on this repo or even if the bootloader crate is used as a dependency? |
|
Only the former. |
|
There is no way to configure rust-analyzer independently of the editior, right? Only e.g. VSCode-specific config. |
I don't know, I only use VSCode. |
|
I guess the other option could be to make the |
Me too. I would be also fine with committing a VSCode-specific config file to the repo that sets the |
That's the route I took for https://github.com/freax13/mushroom. Other than having to manage multiple lock files, this works well. I think that rust-analyzer can cope quite well with this, but then again, I might have been using this setup for so long that I've just learned to blend out the rough edges. |
|
BTW, here's the RFC that will eventually fix all of this: rust-lang/rfcs#3692 |
Run
cargo update -p tempfileto bumptempfileand remove unmaintained dependencyinstant.Fixes #483