Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 777 Bytes

File metadata and controls

38 lines (27 loc) · 777 Bytes

Note

Also check out Rustbin for easy rustup shims 🚀

Work in progress!

Usage

Add to your pyproject.toml:

[project]
dependencies = [
    "rustman"
]

Currently it bundles all RustTarget enums:

import rustman.targets

from rustman.targets import RustTarget

option = RustTarget.x86_64_unknown_linux_gnu
option.spec # same as specs[option.value]

# All values from `rustc -Z unstable-options --print all-target-specs-json`
data = rustman.targets.specs["x86_64-unknown-linux-gnu"]
tier = data["metadata"]["tier"]
std  = data["metadata"]["std"]

Roadmap

  • Rust project classes, (cross) compiling
  • Figure out easy CI builds
  • Integrate ZigBuild, Xwin
  • Toolchain management