Skip to main content

Questions tagged [rust]

The tag has no usage guidance.

0 votes
1 answer
54 views

Anchor build error (os error 123)

I started a brand new project on Windows x64. When i'm trying to do anchor build it is not working and I get the following output: Failed to obtain package metadata: 'cargo metadata' exited with an ...
lovelyRUN's user avatar
0 votes
1 answer
35 views

ld: library 'vulkan' not found

Trying to build https://github.com/ash-rs/ash and run cargo run --bin texture but I'm not sure how I'm expected to install Vulkan on macOS. I tried installing molten-vk and vulkan-tools but neither of ...
Nathan Lilienthal's user avatar
0 votes
0 answers
126 views

ps command is stuck forever reading `/proc/*/environ`

I'm trying to use Rustrover, but it is pretty unstable, and whenever it crashes or is stuck and killed by me, ps command and any other task managers get stuck forever before showing anything. ...
Dekakaruk's user avatar
  • 101
0 votes
1 answer
86 views

VS Code Shortcuts for Efficient Debug Run Test Workflow in Rust

I am having trouble running tests or debugging a specific test. In particular I have to click these buttons to single out run specific tests. But when I am debugging or searching for elsewhere, and ...
facebook's user avatar
  • 219
1 vote
1 answer
253 views

How to run two commands with a simple F7 keybind command in Visual Studio Code?

When I press F7, cargo test runs in the terminal in the background. I can't make F7 command both to run cargo test also open the terminal where it ran that command. This is what I tried: [ { &...
facebook's user avatar
  • 219
0 votes
1 answer
1k views

systemctl start service command is not working in userdata of ec2

I am trying to run systemctl service in ec2 instance on launching of ec2 instance. So for to run my script on start of ec2 instance i am running my script using user data of ec2 instance. So my script ...
dhruv mehta's user avatar
0 votes
1 answer
700 views

Anchor build error cargo metadata (os error 123)

I started a brand new project on Windows x64. When i'm trying to do anchor build it is not working and I get the following output: Failed to obtain package metadata: 'cargo metadata' exited with an ...
Santiago's user avatar
1 vote
0 answers
97 views

Why does Cargo not Work on Emulated Linux?

When I was trying to install rust on this Linux machine, it worked (though it did say the $HOME is not the same as euid derived home). I ran the script again (the standard rustup.sh script), this ...
inyourface3445's user avatar
0 votes
1 answer
710 views

Using VScode with Rust-Analyzer on a remote system, "No definition found" missing glibc?

So I'm working with Rust utilizing VSCode as my IDE. One issue I'm having is with Rust-Analyzer, which appears to be the currently recommended extension for rust support. I have two different systems, ...
Michael's user avatar
  • 263
0 votes
1 answer
318 views

The rust file is not working as I `cargo run` with crontab

I type sudo -i to proceed to edit commands of crontab. I've written the following line inside the file of crontab. @reboot cd /home/username/superuser && cargo run; The following content is ...
electrical apprentice's user avatar
0 votes
0 answers
240 views

Rust multithreading support

I want to run a Minecraft/rust server on a machine that has Linux (raspberry pi OS but I can change this) is there a way to run the server with multiple cores? (I would start the server in terminal if ...
Cody's user avatar
  • 1
0 votes
0 answers
1k views

I can't install rust on my mac

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh I did installed brew install curl-openssl but still I cant install rust. When I download this script in browser and run it i get: bash ...
gkucmierz's user avatar
  • 631