-#[cfg(feature = "cc")]
use cc::Build;
use std::env::var;
use std::io::Write;
println!("cargo:rerun-if-changed={}", to);
// If "cc" is not enabled, use a pre-built library.
- #[cfg(not(feature = "cc"))]
+ /*#[cfg(not(feature = "cc"))]
{
let _ = asm_name;
println!("cargo:rustc-link-search={}/{}", OUTLINE_PATH, profile);
println!("cargo:rustc-link-lib=static={}", name);
- }
+ }*/
// If "cc" is enabled, build the library from source, update the pre-built
// version, and assert that the pre-built version is checked in.
- #[cfg(feature = "cc")]
+ //#[cfg(feature = "cc")]
{
let out_dir = var("OUT_DIR").unwrap();
// Add `-gdwarf-3` so that we always get the same output, regardless of