Lines Matching +full:build +full:- +full:common
1 // SPDX-License-Identifier: Apache-2.0
7 //! This build script can make use of several environment variables to help it
10 //! * `LLVM_CONFIG_PATH` - provides a path to an `llvm-config` executable
11 //! * `LIBCLANG_PATH` - provides a path to a directory containing a `libclang`
13 //! * `LIBCLANG_STATIC_PATH` - provides a path to a directory containing LLVM
22 #[path = "build/common.rs"]
23 pub mod common; module
24 #[path = "build/dynamic.rs"]
26 #[path = "build/static.rs"]
47 /// the build output directory so that it may be used when linking at runtime.
57 copy("build/common.rs", &Path::new(&out).join("common.rs")); in main()
58 copy("build/dynamic.rs", &Path::new(&out).join("dynamic.rs")); in main()
70 if let Some(output) = common::run_llvm_config(&["--includedir"]) { in main()