# uncategorized

**URL:** https://users.rust-lang.org/c/uncategorized/1.md

[Latest](https://users.rust-lang.org/latest.md) · [Categories](https://users.rust-lang.org/categories.md)

---

## [About the uncategorized category](https://users.rust-lang.org/t/about-the-uncategorized-category/120523)

<div class="topic-metadata">

**Author:** [@system](https://users.rust-lang.org/u/system)\
**Replies:** 0

</div>

---

## [Does rust support 486CPU and Windows xp or early OS?](https://users.rust-lang.org/t/does-rust-support-486cpu-and-windows-xp-or-early-os/143924)

<div class="topic-metadata">

**Author:** [@youxiaojie](https://users.rust-lang.org/u/youxiaojie)\
**Replies:** 4\
**Last updated:** [November 24, 2026, 9:18pm UTC](https://users.rust-lang.org/t/does-rust-support-486cpu-and-windows-xp-or-early-os/143924 "2026-11-24T21:18:15Z")

</div>

does rust support 486CPU and Windows xp or early OS?

---

## [Why does is\_positive for a integer return false for 0?](https://users.rust-lang.org/t/why-does-is-positive-for-a-integer-return-false-for-0/143785)

<div class="topic-metadata">

**Author:** [@miro](https://users.rust-lang.org/u/miro)\
**Replies:** 16\
**Last updated:** [November 24, 2026, 7:27am UTC](https://users.rust-lang.org/t/why-does-is-positive-for-a-integer-return-false-for-0/143785 "2026-11-24T07:27:43Z")

</div>

0 is generally considered to be positive unless there's something i'm missing.

---

## [Concret Opaque Type](https://users.rust-lang.org/t/concret-opaque-type/143874)

<div class="topic-metadata">

**Author:** [@burningtnt](https://users.rust-lang.org/u/burningtnt)\
**Replies:** 6\
**Last updated:** [November 23, 2026, 5:00pm UTC](https://users.rust-lang.org/t/concret-opaque-type/143874 "2026-11-23T17:00:17Z")

</div>

Opaque Type are an execellent design in Rust as it prevents users from relying on the specific return type of a function, especially useful in the context of compiler-generated Future state machines. Consider the followi…

---

## [Do you think we should need a Express like easy backend framework in rust?](https://users.rust-lang.org/t/do-you-think-we-should-need-a-express-like-easy-backend-framework-in-rust/143844)

<div class="topic-metadata">

**Author:** [@somen6562](https://users.rust-lang.org/u/somen6562)\
**Replies:** 19\
**Last updated:** [November 23, 2026, 8:53am UTC](https://users.rust-lang.org/t/do-you-think-we-should-need-a-express-like-easy-backend-framework-in-rust/143844 "2026-11-23T08:53:56Z")

</div>

Like most of devs I also came from nodejs and that's why I am wondering if Rust users also think this is a need? I do vibecoded a express like backend framework for my own use but still because it's only me developing an…

---

## [Using clearscreen in Linux and Android (under Termux)](https://users.rust-lang.org/t/using-clearscreen-in-linux-and-android-under-termux/143871)

<div class="topic-metadata">

**Author:** [@geek\_of\_the\_west](https://users.rust-lang.org/u/geek_of_the_west)\
**Replies:** 0\
**Last updated:** [November 23, 2026, 5:10am UTC](https://users.rust-lang.org/t/using-clearscreen-in-linux-and-android-under-termux/143871 "2026-11-23T05:10:53Z")

</div>

Hi folks; I am trying (unsuccessfully) to use the clearscreen crate / module under Android and Linux. I use: Cargo add clearscreen which works, but I notice that one of the features listed is "windows-console" - does…

---

## [Bidirectional ESP-NOW communication in no\_std Embedded Rust between a Raspberry Pi Pico 2 W (RP2350 RISC-V Hazard3 + CYW43439) and an ESP32-C3 Mini is now validated and benchmarked on real hardware](https://users.rust-lang.org/t/bidirectional-esp-now-communication-in-no-std-embedded-rust-between-a-raspberry-pi-pico-2-w-rp2350-risc-v-hazard3-cyw43439-and-an-esp32-c3-mini-is-now-validated-and-benchmarked-on-real-hardware/143869)

<div class="topic-metadata">

**Author:** [@jorgeandrecastro](https://users.rust-lang.org/u/jorgeandrecastro)\
**Replies:** 0\
**Last updated:** [November 22, 2026, 9:44pm UTC](https://users.rust-lang.org/t/bidirectional-esp-now-communication-in-no-std-embedded-rust-between-a-raspberry-pi-pico-2-w-rp2350-risc-v-hazard3-cyw43439-and-an-esp32-c3-mini-is-now-validated-and-benchmarked-on-real-hardware/143869 "2026-11-22T21:44:31Z")

</div>

Using my cyw43-riscv stack built on Embassy, I ran a 1,000-exchange PING/PONG test over channel 1 with 8-byte payloads: • 1,000 / 1,000 matched PONGs (100.0% success rate, 0 errors, 0 timeouts) • 13.732 ms ave…

---

## [Is there a tool for automatically transpossing my module structure?](https://users.rust-lang.org/t/is-there-a-tool-for-automatically-transpossing-my-module-structure/143584)

<div class="topic-metadata">

**Author:** [@miro](https://users.rust-lang.org/u/miro)\
**Replies:** 37\
**Last updated:** [November 21, 2026, 7:06pm UTC](https://users.rust-lang.org/t/is-there-a-tool-for-automatically-transpossing-my-module-structure/143584 "2026-11-21T19:06:23Z")

</div>

For some reason I got used to the foo/mod.rs way of structuring modules instead of foo.rs besides foo/, is there a tool for automatically doing all the file renaming needed to switch between module structures?

---

## [What are some nice concurrency projects to contribute](https://users.rust-lang.org/t/what-are-some-nice-concurrency-projects-to-contribute/143842)

<div class="topic-metadata">

**Author:** [@zugzwanged](https://users.rust-lang.org/u/zugzwanged)\
**Replies:** 0\
**Last updated:** [November 21, 2026, 1:54pm UTC](https://users.rust-lang.org/t/what-are-some-nice-concurrency-projects-to-contribute/143842 "2026-11-21T13:54:01Z")

</div>

Hi folks! Are you aware of any new/growing concurrency projects in the rust ecosystem which I could contribute to? Like projects that involve using atomics and stuff. Thanks!

---

## [Should matches! allow unused bindings?](https://users.rust-lang.org/t/should-matches-allow-unused-bindings/143810)

<div class="topic-metadata">

**Author:** [@johnbchron](https://users.rust-lang.org/u/johnbchron)\
**Replies:** 3\
**Last updated:** [November 20, 2026, 8:59pm UTC](https://users.rust-lang.org/t/should-matches-allow-unused-bindings/143810 "2026-11-20T20:59:54Z")

</div>

I ran across this behavior when I had moved a constant outside the module and didn't get the diagnostic I was expecting. It was something like this: // const MISSING\_CONST: &str = "foo"; fn main() { let bar = Some(…

---

## [Plugin Systems in Rust: Experiences, Trade-offs, and What's Missing?](https://users.rust-lang.org/t/plugin-systems-in-rust-experiences-trade-offs-and-whats-missing/143670)

<div class="topic-metadata">

**Author:** [@shard7](https://users.rust-lang.org/u/shard7)\
**Replies:** 26\
**Last updated:** [November 20, 2026, 2:53pm UTC](https://users.rust-lang.org/t/plugin-systems-in-rust-experiences-trade-offs-and-whats-missing/143670 "2026-11-20T14:53:10Z")

</div>

Hey everyone! I've been working with plugin systems in Rust for a couple of years now, exploring different approaches and building various kinds of implementations along the way. It all started back in 2024, shortly be…

---

## [Importing numeric associated constants](https://users.rust-lang.org/t/importing-numeric-associated-constants/143757)

<div class="topic-metadata">

**Author:** [@arifd](https://users.rust-lang.org/u/arifd)\
**Replies:** 3\
**Last updated:** [November 20, 2026, 4:18am UTC](https://users.rust-lang.org/t/importing-numeric-associated-constants/143757 "2026-11-20T04:18:18Z")

</div>

I wanted to write: vec!\[NAN, 1.0, NAN\]; So I tried: use std::f64::NAN; But Clippy warns against using legacy numeric constants and recommends f64::NAN instead. Naturally, I tried: use f64::NAN; But that doesn't co…

---

## [Benchmarks with input files?](https://users.rust-lang.org/t/benchmarks-with-input-files/143770)

<div class="topic-metadata">

**Author:** [@zackw](https://users.rust-lang.org/u/zackw)\
**Replies:** 6\
**Last updated:** [November 20, 2026, 2:56am UTC](https://users.rust-lang.org/t/benchmarks-with-input-files/143770 "2026-11-20T02:56:09Z")

</div>

Is there a preferred way to run a benchmark that takes one or more files as inputs? (The input files are going to be checked into the repository, but the benchmark binary would ideally take files to process as command l…

---

## [They cloned commercial desktops apps with Rust](https://users.rust-lang.org/t/they-cloned-commercial-desktops-apps-with-rust/142938)

<div class="topic-metadata">

**Author:** [@StefanSalewski](https://users.rust-lang.org/u/StefanSalewski)\
**Replies:** 33\
**Last updated:** [November 18, 2026, 2:21pm UTC](https://users.rust-lang.org/t/they-cloned-commercial-desktops-apps-with-rust/142938 "2026-11-18T14:21:50Z")

</div>

You might have already seen it in https://www.youtube.com/watch?v=eFB79TYI-Vw and Crafting Apps: open-source creative tools — ArtCraft ArtCraft · GitHub I am not really surprised, I supposed it would happen quite soo…

---

## [Why is "Write" in the Vec documentation?](https://users.rust-lang.org/t/why-is-write-in-the-vec-documentation/143697)

<div class="topic-metadata">

**Author:** [@user16251](https://users.rust-lang.org/u/user16251)\
**Replies:** 6\
**Last updated:** [November 18, 2026, 6:02am UTC](https://users.rust-lang.org/t/why-is-write-in-the-vec-documentation/143697 "2026-11-18T06:02:54Z")

</div>

I noticed in Rust 1.100.0 the Vec documentation highlights the Write trait: Why is this? What is its significance?

---

## [What is the reason behind inability to use several trait bounds for a trait object?](https://users.rust-lang.org/t/what-is-the-reason-behind-inability-to-use-several-trait-bounds-for-a-trait-object/143682)

<div class="topic-metadata">

**Author:** [@throwable-one](https://users.rust-lang.org/u/throwable-one)\
**Replies:** 9\
**Last updated:** [November 16, 2026, 5:04pm UTC](https://users.rust-lang.org/t/what-is-the-reason-behind-inability-to-use-several-trait-bounds-for-a-trait-object/143682 "2026-11-16T17:04:58Z")

</div>

It works trait CoffieSort { fn drink(&self); } trait ProgrammingLanguage { fn code(&self); } trait JavaJar { fn get(&self) -\> impl CoffieSort + ProgrammingLanguage; } but if I wanted to use a dynamic trait …

---

## [Style preference super-trait bound \`Into\<Foo\>\` vs \`where Foo: From\<Self\>\`](https://users.rust-lang.org/t/style-preference-super-trait-bound-into-foo-vs-where-foo-from-self/143687)

<div class="topic-metadata">

**Author:** [@MusicalNinjaDad](https://users.rust-lang.org/u/MusicalNinjaDad)\
**Replies:** 5\
**Last updated:** [November 16, 2026, 12:35pm UTC](https://users.rust-lang.org/t/style-preference-super-trait-bound-into-foo-vs-where-foo-from-self/143687 "2026-11-16T12:35:48Z")

</div>

Given where clauses are only elaborated for supertraits, and not other things · Issue #20671 · rust-lang/rust, what do you generally prefer? pub trait OsError: Error + Send + Sync + 'static // C-GOOD-ERR + From\<i…

---

## [Why does shifting right by a negative amount not shift left?](https://users.rust-lang.org/t/why-does-shifting-right-by-a-negative-amount-not-shift-left/143555)

<div class="topic-metadata">

**Author:** [@miro](https://users.rust-lang.org/u/miro)\
**Replies:** 46\
**Last updated:** [November 13, 2026, 4:01pm UTC](https://users.rust-lang.org/t/why-does-shifting-right-by-a-negative-amount-not-shift-left/143555 "2026-11-13T16:01:46Z")

</div>

I'd expect 1u64 \>\> -1i32 to return 2, moving right by a negative distance is just moving left, but instead it panics. Playground: Rust Playground

---

## [Potential edge case in Allocator safety documentation](https://users.rust-lang.org/t/potential-edge-case-in-allocator-safety-documentation/143653)

<div class="topic-metadata">

**Author:** [@rlee287](https://users.rust-lang.org/u/rlee287)\
**Replies:** 4\
**Last updated:** [November 13, 2026, 3:53pm UTC](https://users.rust-lang.org/t/potential-edge-case-in-allocator-safety-documentation/143653 "2026-11-13T15:53:28Z")

</div>

Consider the following Allocator struct that delays deallocation until the Allocator itself is dropped: /// An Allocator that delays deallocation until it is dropped. #\[derive(Debug)\] struct DelayedDeallocator\<A: Alloca…

---

## [Why can't i implement a trait for a single function?](https://users.rust-lang.org/t/why-cant-i-implement-a-trait-for-a-single-function/143604)

<div class="topic-metadata">

**Author:** [@giocri](https://users.rust-lang.org/u/giocri)\
**Replies:** 36\
**Last updated:** [November 11, 2026, 7:11pm UTC](https://users.rust-lang.org/t/why-cant-i-implement-a-trait-for-a-single-function/143604 "2026-11-11T19:11:57Z")

</div>

is there a particular reason why this is not allowed? fn my\_function(){ ..... } impl MyTrait for my\_function{ } i feel like if i can implement for a generic fn i should be also able for an exact one i know i can eas…

---

## [What's everyone working on this week (46/2026)?](https://users.rust-lang.org/t/whats-everyone-working-on-this-week-46-2026/143575)

<div class="topic-metadata">

**Author:** [@llogiq](https://users.rust-lang.org/u/llogiq)\
**Replies:** 7\
**Last updated:** [November 10, 2026, 9:25pm UTC](https://users.rust-lang.org/t/whats-everyone-working-on-this-week-46-2026/143575 "2026-11-10T21:25:45Z")

</div>

New week, new Rust! What are you folks up to?

---

## [Cargo's cache can't be reused with or without --target \<target\>](https://users.rust-lang.org/t/cargos-cache-cant-be-reused-with-or-without-target-target/143582)

<div class="topic-metadata">

**Author:** [@burningtnt](https://users.rust-lang.org/u/burningtnt)\
**Replies:** 1\
**Last updated:** [November 10, 2026, 3:38am UTC](https://users.rust-lang.org/t/cargos-cache-cant-be-reused-with-or-without-target-target/143582 "2026-11-10T03:38:40Z")

</div>

Even if the specific target is set to default one, cargo still compiles everything from scratch.

---

## [Script for creating structure of durectories in Rust](https://users.rust-lang.org/t/script-for-creating-structure-of-durectories-in-rust/143569)

<div class="topic-metadata">

**Author:** [@proRust](https://users.rust-lang.org/u/proRust)\
**Replies:** 4\
**Last updated:** [November 9, 2026, 7:47am UTC](https://users.rust-lang.org/t/script-for-creating-structure-of-durectories-in-rust/143569 "2026-11-09T07:47:14Z")

</div>

Hello I’ve always had the problem that when I want to start a project and run ‘cargo new’, it creates a project containing only the ‘main’ file. I’m writing a Rust script that can generate the project and a simple direc…

---

## [Is \`AsMut\<\[T\]\>\` stable across repeated calls?](https://users.rust-lang.org/t/is-asmut-t-stable-across-repeated-calls/143258)

<div class="topic-metadata">

**Author:** [@olpa](https://users.rust-lang.org/u/olpa)\
**Replies:** 18\
**Last updated:** [November 7, 2026, 7:42pm UTC](https://users.rust-lang.org/t/is-asmut-t-stable-across-repeated-calls/143258 "2026-11-07T19:42:59Z")

</div>

Has anyone seen a real AsMut\<\[T\]\> implementation where repeated calls to as\_mut() return slices with different addresses or lengths, even when no other &mut self method is called between them? In other words, I expect t…

---

## [Naming of package](https://users.rust-lang.org/t/naming-of-package/143505)

<div class="topic-metadata">

**Author:** [@bitterepic](https://users.rust-lang.org/u/bitterepic)\
**Replies:** 4\
**Last updated:** [November 7, 2026, 7:38am UTC](https://users.rust-lang.org/t/naming-of-package/143505 "2026-11-07T07:38:13Z")

</div>

Hey all, I see that Cargo doesn't seem to be going in the direction of namespacing. I was originally going to try to fake namespacing, but I realized that maybe there is a better way. Package managers are all about the…

---

## [An idea for adding functionality to Rust regarding shadowing](https://users.rust-lang.org/t/an-idea-for-adding-functionality-to-rust-regarding-shadowing/143448)

<div class="topic-metadata">

**Author:** [@vosirandr](https://users.rust-lang.org/u/vosirandr)\
**Replies:** 34\
**Last updated:** [November 6, 2026, 2:25pm UTC](https://users.rust-lang.org/t/an-idea-for-adding-functionality-to-rust-regarding-shadowing/143448 "2026-11-06T14:25:16Z")

</div>

Instead, I suggest: let x=3; let x=4; let mut x=5; Do this: let x=3; hat x=4; hat mut x=5; Since Rust specializes in catching human oversights, and shadowing is somewhat akin to pointers, I believe that shadowing…

---

## [Why loom is happy with this?](https://users.rust-lang.org/t/why-loom-is-happy-with-this/143495)

<div class="topic-metadata">

**Author:** [@okkotsu](https://users.rust-lang.org/u/okkotsu)\
**Replies:** 8\
**Last updated:** [November 6, 2026, 2:15pm UTC](https://users.rust-lang.org/t/why-loom-is-happy-with-this/143495 "2026-11-06T14:15:29Z")

</div>

use loom::sync::Arc; use loom::sync::atomic::{AtomicBool, AtomicUsize, Ordering}; loom::model(|| { let ptr = Box::into\_raw(Box::new(0)); let flag = Arc::new(AtomicBool::new(false)); let …

---

## [Current state of the art in code coverage analysis tools?](https://users.rust-lang.org/t/current-state-of-the-art-in-code-coverage-analysis-tools/143496)

<div class="topic-metadata">

**Author:** [@zackw](https://users.rust-lang.org/u/zackw)\
**Replies:** 0\
**Last updated:** [November 5, 2026, 2:03pm UTC](https://users.rust-lang.org/t/current-state-of-the-art-in-code-coverage-analysis-tools/143496 "2026-11-05T14:03:58Z")

</div>

What's the current best thing out there for analyzing code coverage reports produced by cargo-llvm-cov? I am particularly interested in tools that can show coverage changes as a function of VCS commit history.

---

## [Graph of all Rust crates dependencies](https://users.rust-lang.org/t/graph-of-all-rust-crates-dependencies/143493)

<div class="topic-metadata">

**Author:** [@Fiedzia](https://users.rust-lang.org/u/Fiedzia)\
**Replies:** 0\
**Last updated:** [November 5, 2026, 7:34am UTC](https://users.rust-lang.org/t/graph-of-all-rust-crates-dependencies/143493 "2026-11-05T07:34:31Z")

</div>

I was playing with graph tools and to showcase some data, I created a graph of all Rust crates. Anyone interested can use generated data with https://run.cosmograph.app/ to make own analysis. There is about 330k cr…

---

## [Thoughts on Qt Bridge for Rust? (GUI)](https://users.rust-lang.org/t/thoughts-on-qt-bridge-for-rust-gui/143468)

<div class="topic-metadata">

**Author:** [@noah\_g](https://users.rust-lang.org/u/noah_g)\
**Replies:** 3\
**Last updated:** [November 4, 2026, 10:14am UTC](https://users.rust-lang.org/t/thoughts-on-qt-bridge-for-rust-gui/143468 "2026-11-04T10:14:48Z")

</div>

I'm considering building a GUI application in Rust, however I'm not familiar with the current GUI landscape. The areweguiyet.com site led me to discovering the GUI framework Qt. Apparently Qt recently released a crate t…

[Next page](https://users.rust-lang.org/c/uncategorized/1.md?page=1)
