aware-tectonic 0.16.9

A modernized, complete, embeddable TeX/LaTeX engine. Tectonic is forked from the XeTeX extension to the classic "Web2C" implementation of TeX and uses the TeXLive distribution of support files. This is the Aware Software fork of tectonic 0.16.9: identical to upstream except that its bundle crate (aware-tectonic-bundles) does not contact the network when the bundle cache is warm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2016-2021 the Tectonic Project
// Licensed under the MIT License.

//! Build script for tectonic binary. Handles some simple environment setup.

use std::env;

fn main() {
    // Depend on this file to prevent rebuilding on any change - see #1173 for details
    println!("cargo:rerun-if-changed=build.rs");

    // Re-export $TARGET during the build so that our executable tests know
    // what environment variable CARGO_TARGET_@TARGET@_RUNNER to check when
    // they want to spawn off executables.
    let target = env::var("TARGET").unwrap();
    println!("cargo:rustc-env=TARGET={target}");
}