Questions tagged [rust]

Rust is a general purpose, curly-brace, block-structured expression, compiled programming language developed by Mozilla Research.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

moshudp crosscompilation

I have a board with MIPS cpu of mips64el and buildRoot with toolchain. When I try compile a moshudp program by rust from buildRoot I get follow error $ source $BUILD_ROOT_PATH/buildroot/output/host/...
  • 1
0 votes
0 answers
13 views

Multiple errors after failed installation

I am using Ubuntu via WSL. I was trying to install Rust using this command (taken from the official website): curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh Unfortunately, it seems ...
  • 101
2 votes
1 answer
179 views

What is /proc/85/root/tty & why am I seeing it written to every 1 second?

I'm watching which files / directories are being written to on my Ubuntu 22.04.1 LTS installation (kernel v. 5.15.0-52-generic). Suddenly I'm seeing writes to /proc/85/root/tty every 1 second. I know ...
  • 1,570
0 votes
0 answers
149 views

Cross Compilation is RUST

I am doing cross compilation on my laptop for raspberry pi. Target triplet on my laptop x86_64-linux-gnu Target triplet on my raspberry pi is arm-linux-gnueabihf I am using UBUNTU 20.04 .cargo/confi....
2 votes
1 answer
178 views

How do I access Rust documentation?

I installed Rust from the rustlang.org website. I tried to look at the Book: rustup doc --book This results in an "Access to the file was denied" error in Firefox. I assumed this was a snap ...
  • 1,333
1 vote
1 answer
234 views

How to build Spot (native Spotify client) on Ubuntu 22.04?

Please help me compile and install Spot, a native Spotify client for GNOME, on Ubuntu 22.04. Instructions Here are the instructions from the application's GitHub page: Requires Rust (stable), GTK4, ...
  • 11.5k
0 votes
1 answer
875 views

Unable to install anchor-cli using Cargo

I am following the course of Solana Blockchain developer with JavaScript and Rust. I am installing all the necessary frameworks and files. While installing anchor-cli using Cargo. I am getting the ...
  • 63
-2 votes
1 answer
2k views

Package alsa was not found in the pkg-config search path. Perhaps you should add the directory containing `alsa.pc' [closed]

im having problems with bevy framework. sorry im new at this site and idk how to make my question more "readable" Full exit code when i try to run:cargo run --example hello_world I tried ...
1 vote
1 answer
105 views

How to install debcargo in Ubuntu? It is in the Debian repositories, but not in Ubuntu [duplicate]

debcargo is a Debian package for packaging rust apps in .deb format. It is available in Debian Buster and above, but I could not find the package in Ubuntu 20.04 and 20.10. Why is the package not ...
1 vote
1 answer
329 views

How to build this Rust program in Launchpad? It fails to build

I am trying to build popsicle in Launchpad (I cloned the repository from GitHub, and am trying to build it using this package recipe), and it fails to build. Here is the relevant part of the buildlog ...
1 vote
2 answers
621 views

how to install mysqlclient lib as required by diesel

Compiling diesel_cli on Ubuntu 16.04, I'm unable to find which package I should install to get rid if the message ~$ cargo install diesel_cli Updating crates.io index Installing diesel_cli v1.4....
  • 257
6 votes
2 answers
3k views

.profile not working on xfce4

I just installed Rust by curl https://sh.rustup.rs -sSf | sh and rebooted my system. But I cannot access cargo, rustc.. on my terminal. My .profile file contains the following line export PATH="$...
0 votes
1 answer
2k views

Install Cargo/Rust on Ubuntu 18.04 Amazon AMI to use Cargo Packages (Exa)

I wanted to install and use Exa on AWS Ubuntu 18.04 Image. Exa is a cargo package, how do I install Rust and Cargo to install Exa? How do I use cargo packages on Ubuntu 18.04? I ran into the error ...
  • 191
0 votes
0 answers
102 views

Perf does not annotate .c files called by Rust

I am using perf to profile a rust application which calls some .c files. I want to annotate the .c functions. However in the perf report i can find only rust code annotated. I have compiled the ...
  • 23
1 vote
1 answer
4k views

How to install libxcb-randr 1.12 on Ubuntu 16.04?

Ubuntu 16.04 (16.04.4) ppa contains only 1.11. But for Rust program compilation i need 1.12 version. How to deal with it ? P.s. 17.04 contains xcb v.1.12
  • 836
0 votes
1 answer
185 views

Why does Ubuntu 18.04 come with rustc 1.18? [closed]

I'm aware of the fact that Ubuntu 18.04 isn't released yet and things can change. However, all versions < 18.04 provide rustc 1.21 whereas 18.04 comes with 1.18 which already is quite old (recent ...
1 vote
0 answers
120 views

Issue with installing rusti (Rust interactive shell)

I am trying to install Rusti (the Rust programming language interactive shell) from https://github.com/murarth/rusti But after this command, (as suggested in the GitHub page) rustup run nightly-...
1 vote
1 answer
667 views

Rust installation issue in ubuntu-gnome 16.04.2

I am having trouble installing Rust on my ubuntu-gnome 16.04.2. I followed the basic installation mentioned on the Rust website. I am attaching the command output for perusal $ curl https://sh.rustup....
2 votes
1 answer
4k views

Does running make clean after make install affect the installed program?

Upon cloning, building, and installing rust from their github repository I've found it takes up ~2.8 GB on my system. I've got relatively limited space on my machine (100GB), so I was wondering two ...
  • 675
30 votes
4 answers
24k views

Where are the Rust (aka rust-lang) packages for Ubuntu?

I'd like to play with the Rust language on Ubuntu, but there don't seem to be any packages. Did I miss it or is there some problem?
  • 9,091