Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
75 views

I set up the VS Code settings.json with the following configuration: { "rust-analyzer.checkOnSave": true, "rust-analyzer.runnables.extraEnv": { "RUST_BACKTRACE&...
Fred Hors's user avatar
  • 4,273
-5 votes
1 answer
85 views

//Create folders and main.c let folders = format!("{}/src/main.c", name); match fs::create_dir_all(&folders) { Err(why) => { println!("Failed to ...
user31743995's user avatar
4 votes
2 answers
85 views

I'm developing a simple Actix Web backend in Rust and running it on WSL (Windows Subsystem for Linux). The server runs fine the first time, but when I use cargo watch -x run to auto-restart it on code ...
forstudy's user avatar
0 votes
1 answer
76 views

I have a .cargo/config.toml file that configures a custom, HTTP git-based registry (hosted on Bitbucket) to replace crates.io: [source] [source.artifactory] registry = "http://bitbucket/scm/<...
Alden Mirek's user avatar
-5 votes
1 answer
100 views

I have a small Rust project — it's a Hello World file that is using the following dependencies: [build-dependencies] tauri-build = { version = "2", features = [] } [dependencies] tauri = { ...
Varelion's user avatar
1 vote
1 answer
98 views

I always struggle a bit with the Rust/Cargo features and conditional compile. I have a number of Functions and a number of FunctionGroups. Let's say I have Functions F_A, F_B, F_C and FunctionGroups ...
xjn xjn's user avatar
  • 75
0 votes
1 answer
65 views

I'm getting that error any time that the following is executed from a Python script: from cryptography.hazmat.bindings._rust import <whatever> I look at the file structure for my ...\site-...
DannyPeet's user avatar
  • 179
2 votes
0 answers
155 views

Most bigger crates have quite a few features enabled by default. Why should I use default-features = false in my Cargo.toml and only enable the ones that I actually need? For example, if I use the ...
TheJanzap's user avatar
  • 173
0 votes
0 answers
136 views

GitHub will create a web page for your repository using the GitHub Pages feature, but only if a suitable webpage (i.e. index.html) is in either the root directory (/) or in /docs. When you build ...
workerjoe's user avatar
  • 2,765
0 votes
0 answers
43 views

Is it possible to generate an HTML cargo test report, which contains test case name (based on Polarion ID), status (passed/failed) and export the report to Polarion?
Harry's user avatar
  • 4,132
1 vote
1 answer
162 views

I've got a rust project . When I try to build that project I get the following error - error: failed to run custom build command for `alsa-sys v0.3.1` Caused by: process didn't exit successfully: `/...
user51's user avatar
  • 10.6k
0 votes
1 answer
205 views

im suffering from getrandom version conflict issue, its been a week i havent find any solution can we discuss it? currently im trying to build libsignal protocols /protocol crate using wasm-pack and ...
filo_123's user avatar
0 votes
0 answers
75 views

I'm using IntelliJ and the Rust plugin. I'm on a MacBook and usually not cross-compiling, but sometimes I want to switch my target to iOS, so I can see the IDE analyze code marked with #[cfg(target_os ...
Rob N's user avatar
  • 16.7k
0 votes
2 answers
93 views

Using rust sqlx sqlx = { version = "0.8.6", features = ["sqlite", "runtime-tokio", "macros"] } . I am using a SQLite Db for my application. After making a db ...
Abhith Shaji's user avatar
0 votes
0 answers
153 views

I'm trying to run cargo bench on my new MacBook (Apple Silicon, macOS [Sequioa version 15.5]), but I get this error: cargo(31826) MallocStackLogging: can't turn off malloc stack logging because it was ...
ajita asthana's user avatar
0 votes
0 answers
74 views

I am making a cli tool that based on hostname and host ip match control. I just head by with a problem that is there any library or rest-api that i can use in rust for domains ipv4 address ? For ...
Hacı Mert Gökhan's user avatar
0 votes
0 answers
31 views

When publishing my crates to https://crates.io/, the toolchain at some point seems to be performing some mangling to my Cargo.toml. The mangled version of the manifest is published, while the original ...
cyqsimon's user avatar
  • 4,028
0 votes
0 answers
188 views

I'm making changes in repo1 that has two dependencies in which I need to make a code change: [workspace.dependencies] solana-signature = { version = "2.2.1", default-features = false } ...
Bobby Dore's user avatar
-1 votes
1 answer
75 views

I'm making changes to a GitHub repo I cloned to my machine. I also need to make changes to the code of one of its dependencies (listed as solana-vote-interface = "2.2.3" in Cargo.toml under [...
Bobby Dore's user avatar
0 votes
1 answer
67 views

Im writing a kernel in Rust, but are having some problems with the panicking module. I have written a build script that should build the boot image of the OS, but i seem to get an error while trying ...
Bjørn Pollen's user avatar
1 vote
0 answers
206 views

I have dual-OS setup on my PC with an NTFS partition for Windows, an ext4 partition for Arch Linux and an exFAT partition for shared data. The data partition is mounted on my Arch system like this (...
axolotlKing0722's user avatar
0 votes
0 answers
63 views

Can you please help me why my Rust code is allowing mutiple mutable borrowers here. Rust document says we cannot have mutiple mut borrowers of a variable fn main() { let mut s1 = String::from(&...
Debapriya Biswas's user avatar
0 votes
0 answers
66 views

After upgrading to Rust v1.86.0 locally (currently poky master has v1.85.1), the following error is observed: ERROR: libstd-rs-1.86.0-r0 do_prepare_recipe_sysroot: The file /usr/bin/cargo is installed ...
Yashinde's user avatar
1 vote
1 answer
414 views

Podman builds started failing on the cargo buld step with certificate errors. It was working for a couple weeks but started failing all of a sudden. The error returned from the build is : Caused by: ...
Derrick Awuah's user avatar
1 vote
3 answers
2k views

I initialized a new empty project via anchor init but I'm having trouble running anchor build. proc_macro2 compiles fine early in the sequence but when it comes to compiling anchor-syn. I'm trying to ...
Deepak Mehra's user avatar

1
2 3 4 5
50