File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Rust 1.75 requires setting newer MACOSX_DEPLOYMENT_TARGET
2
+
3
+ With the release of ` rust 1.75 ` , we now require setting the minimal
4
+ ` MACOSX_DEPLOYMENT_TARGET ` to at least ` 10.12 ` . You can do this by appending
5
+ ` recipe/conda_build_config.yaml ` with the following content:
6
+
7
+ ``` yaml
8
+ MACOSX_DEPLOYMENT_TARGET : # [osx and x86]
9
+ - ' 10.12' # [osx and x86]
10
+ ` ` `
11
+
12
+ You should also add a run dependency on the respective OSX version:
13
+
14
+ ` ` ` yaml
15
+ run :
16
+ - __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx and x86_64]
17
+ ` ` `
18
+
19
+ The latter is also set automatically via a ` run_exports` of
20
+ the `compiler('rust')` package, but we add this line if you would increase
21
+ the deployment target later in the feedstock for unrelated reasons.
You can’t perform that action at this time.
0 commit comments