We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
MACOSX_DEPLOYMENT_TARGET
1 parent 6edc084 commit a8f87fdCopy full SHA for a8f87fd
src/compile.rs
@@ -419,8 +419,8 @@ fn compile_target(
419
build_command.env("PYO3_CROSS_LIB_DIR", lib_dir);
420
}
421
422
- // Set default macOS deployment target version
423
- if target.is_macos() && env::var_os("MACOSX_DEPLOYMENT_TARGET").is_none() {
+ // Set default macOS deployment target version for non-editable builds
+ if !context.editable && target.is_macos() && env::var_os("MACOSX_DEPLOYMENT_TARGET").is_none() {
424
use crate::build_context::rustc_macosx_target_version;
425
426
let target_config = context
0 commit comments