build_script_directives 0.1.0

Macro helpers for emitting Cargo build script instructions
Documentation
  • Coverage
  • 33.33%
    1 out of 3 items documented1 out of 2 items with examples
  • Size
  • Source code size: 2.46 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 241.68 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • kdimonych/build_script_toolkit
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kdimonych

build_script_directives

Helpers for emitting cargo: directives from a Rust build script.

Example

use build_script_directives as cargo;

fn main() {
    cargo::cmd!("rerun-if-changed=memory.x");
    cargo::cmd!("rustc-link-arg-bins=-Tlink.x");
}