How to fully replace/reimplement std?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/rust

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • JetBrains - Developer Ecosystem Survey 2022
  • Scout APM - Less time debugging, more time building
  • rust

    Empowering everyone to build reliable and efficient software.

    A big issue I'm having with the way std is implemented in rust (https://github.com/rust-lang/rust/tree/master/library/std) is that they hard code implementations for targets. This makes it hard for me to use non standard/unsupported targets like using FreeRTOS or writing my own small embedded operating system.

  • FreeRTOS-rust

    Rust crate for FreeRTOS

    Maybe, this will help you: https://github.com/lobaro/FreeRTOS-rust

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • wg-cargo-std-aware

    Repo for working on "std aware cargo"

    While it's planned, cargo doesn't support that right now (issues on this are tracked here: https://github.com/rust-lang/wg-cargo-std-aware).

  • xargo

    The sysroot manager that lets you build and customize `std`

    I think you can use xargo for this with:

  • rust

    Empowering everyone to build reliable and efficient software. (by betrusted-io)

    Everything you need to know to build for our platform is at https://github.com/betrusted-io/rust/ and maybe the scripts or patches there will be interesting to you.

  • miri

    An interpreter for Rust's mid-level intermediate representation

    Note that xargo is in bare-bones maintenance mode -- basically just enough to keep Miri working; nobody is maintaining the other parts of it.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts