thruput-xdr 0.63.0

Bindings for Thruput protocol structures
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Rebuild tracking for files read by `thruput-xdr-macros` at expansion
//! time.
//!
//! `generate_syscall_numbers!` and `generate_syscall_decls!` load
//! `src/syscalls.yaml` (and the docs JSON) from this crate's manifest
//! directory with `std::fs`, which leaves no dependency edge in cargo's
//! dep-info. Without these directives, editing either file does not
//! trigger a rebuild and the generated bindings go stale.

fn main() {
    println!("cargo:rerun-if-changed=src/syscalls.yaml");
    println!("cargo:rerun-if-changed=syscalls_docs.json");
}