ucg/src/build/stdlib.rs
Jeremy Wall 98323eabbd FIX: Multiple packaging errors.
* 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.
2019-01-14 20:41:12 -06:00

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
}