#build-script #path #compiler #built #cargo

build uasm

A library to build the UASM compiler, for usage in build scripts

5 stable releases

Uses new Rust 2024

1.0.4+2.57 Sep 22, 2025
1.0.1 Sep 21, 2025

#366 in Build Utils

Download history 44/week @ 2025-09-15 287/week @ 2025-09-22 14/week @ 2025-09-29 2/week @ 2025-10-06

68 downloads per month

Watcom-1.0

4MB
98K SLoC

C 61K SLoC // 0.2% comments Assembly 34K SLoC // 0.1% comments Bitbake 2K SLoC // 0.0% comments Visual Studio Project 739 SLoC Batch 473 SLoC Rust 126 SLoC Visual Studio Solution 71 SLoC

Contains (ar library, 125KB) UASM/regress/src/win64/MSVCRT.LIB, (ELF exe/lib, 1KB) UASM/regress/exp/Linux64/Lin64_1.o, (ELF exe/lib, 2KB) UASM/regress/exp/Linux64/Lin64_2.o, (ELF exe/lib, 3KB) UASM/regress/exp/Linux64/Lin64_3.o, (ELF exe/lib, 4KB) UASM/regress/exp/Linux64/Lin64_4.o, (Mach-o exe, 1KB) UASM/regress/exp/macho64/osx1.o and 2 more.

uasm-rs

A library to build the UASM compiler, for usage in build scripts.

Usage

This crate provides one export, which is the path to the built UASM executable.

Example usage:

use std::result::Result;
use std::error::Error;

use uasm::UASM_PATH;

fn main() -> Result<(),Box<dyn Error>>{
    println!("Hello, world!");
    std::process::Command::new(UASM_PATH).arg("-h").spawn()?;
    Ok(())
}

(:

No runtime deps