Skip to content

purs3lab/nostdbuild

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic no_std compilation of crates

This tool automatically finds the features that should be enabled/disabled for a crate to be compiled in no_std mode.
This requires that the crate already supports no_std build.

Usage

The tool depends on an hir visitor plugin. So you will need to install the visitor first. Run the following command from the root of the repo.

cargo install --path . --bin cargo-hir --bin hir-driver --force

You will need to update the following constants from consts:

  • DOWNLOAD_PATH: Location where the main crate and its dependencies will be downloaded
  • RESULTS_JSON_PREFIX: Result json will be dumped here

About

Automatically compling Rust crate for Nostd.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%