rask-common 0.1.0

Common utilities and types for the Rask project
Documentation
  • Coverage
  • 0%
    0 out of 39 items documented0 out of 13 items with examples
  • Size
  • Source code size: 6.1 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 537.4 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 5s Average build duration of successful builds.
  • all releases: 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • chrischtel/rask
    5 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • chrischtel

rask-common

Common types and utilities for the Rask code generation toolkit.

Features

  • Target architecture definitions (X86_64, AArch64, RiscV64)
  • ABI specifications (SystemV, Windows)
  • Register classification system
  • Memory alignment utilities
  • Error handling types

Example

use rask_common::{Target, Architecture, Abi};

let target = Target::from_arch(Architecture::X86_64, Abi::SystemV);
let aligned = rask_common::align_to(123, 8); // 128