Skip to content

Commit

Permalink
Remove unused target_env from boring-sys build config
Browse files Browse the repository at this point in the history
  • Loading branch information
eager-signal committed Nov 30, 2023
1 parent 27b1e26 commit a6e882e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions boring-sys/build/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ pub(crate) struct Config {
pub(crate) host: String,
pub(crate) target: String,
pub(crate) target_arch: String,
pub(crate) target_env: String,
pub(crate) target_os: String,
pub(crate) features: Features,
pub(crate) env: Env,
Expand Down Expand Up @@ -42,7 +41,6 @@ impl Config {
let host = env::var("HOST").unwrap();
let target = env::var("TARGET").unwrap();
let target_arch = env::var("CARGO_CFG_TARGET_ARCH").unwrap();
let target_env = env::var("CARGO_CFG_TARGET_ENV").unwrap();
let target_os = env::var("CARGO_CFG_TARGET_OS").unwrap();

let features = Features::from_env();
Expand All @@ -58,7 +56,6 @@ impl Config {
host,
target,
target_arch,
target_env,
target_os,
features,
env,
Expand Down

0 comments on commit a6e882e

Please sign in to comment.