Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I ruined Rust paths for root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
v_0ver
n00b
n00b


Joined: 09 Mar 2018
Posts: 14

PostPosted: Sun Feb 09, 2025 1:44 pm    Post subject: I ruined Rust paths for root Reply with quote

I accidentally performed
Code:
rustup-init
for root. Then I can’t configure the paths back to the system rustc.
Rust updates broke:
Code:
 * ERROR: dev-lang/rust-1.84.1::gentoo failed (configure phase):
 *   Can't determine rust's sysroot


I did
Code:
rm -rf ~/.cargo ~/.rustup
for root. Deleted
Code:
. "$HOME/.cargo/env"
in .bashrc. I specified
Code:
export PATH="/usr/bin:${PATH}"
Does not work.
_________________
My personal overlay on GitHub
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1508
Location: Earth

PostPosted: Tue Feb 11, 2025 10:08 pm    Post subject: Reply with quote

what does eselect rust list say ?

here's some info https://wiki.gentoo.org/wiki/Rust#Rustup - maybe it'll help you a bit.

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum