Э
env!
макрос.Size: a a a
Э
env!
макрос.SS
SS
p
Э
use std::env;
let out_dir = env::var("OUT_DIR").unwrap();
Э
SS
use std::env;
let out_dir = env::var("OUT_DIR").unwrap();
p
SS
Э
Э
SS
SS
Э
const OUT_DIR = "/my/path/to/something";
const REL_DIR = "/folder";
let real_path = std::env::current_dir().unwrap().push(REL_DIR);
SS
build.rs
)SS
const OUT_DIR = "/my/path/to/something";
const REL_DIR = "/folder";
let real_path = std::env::current_dir().unwrap().push(REL_DIR);
SS
SS
SS