mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-26 19:00:28 -04:00
* The include setting doesn't do what I thought it did. * Also when packaging the rules on what build.rs can do are a little more strict than was immediately apparent.
8 lines
199 B
Rust
8 lines
199 B
Rust
use std::collections::HashMap;
|
|
|
|
pub fn get_libs() -> HashMap<String, &'static str> {
|
|
let mut stdlib = HashMap::new();
|
|
include!(concat!(env!("OUT_DIR"), "/stdlib_generated.rs"));
|
|
stdlib
|
|
}
|