-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
rust not respecting rust-toolchain.toml #2413
Comments
Powerlevel10k needs to be modified to support these. Details: https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file No ETA. |
Good luck with that because I am moving onto an alternative that is more
maintainable than this fragile mess.
…On Sat, Aug 19, 2023 at 10:13 AM Roman Perepelitsa ***@***.***> wrote:
rustup has added two things since I implemented rust_version segment in
p10k:
1. rust-toolchain can now be in TOML format. The old format is still
supported.
2. If rust-toolchain is missing, rust-toolchain.toml is used.
Powerlevel10k needs to be modified to support these. Details:
https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file
No ETA.
—
Reply to this email directly, view it on GitHub
<#2413 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABWYMD7ESQYWI6CXGBLUCDXWDJYBANCNFSM6AAAAAA3WHQHMM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I am having a similar issue:
Yet the prompt shows |
romkatv
added a commit
that referenced
this issue
Oct 23, 2023
This is fixed. Sorry that it took so long. @steakknife If you don't mind my asking, which alternative have you moved to? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
The rust prompt doesn't show the correct version.
MCE
+Expected vs. -actual
Attempted resolution(s)
typeset -g POWERLEVEL9K_RUST_VERSION_CONTENT_EXPANSION='${P9K_RUST_VERSION#rustc }
per Rustc version doesn't update #418Resolution methodology
Somewhere after
if (( $+commands[rustup] )); then
, the simplest way to get the current toolchain for a given directory and environment isrustup show active-toolchain -v | tail -1
. I've verified this command always works with complicated workspace crates. It was unclear to me how to modifyinternal/p10k.zsh
so I was unable to cut a PR.The text was updated successfully, but these errors were encountered: