Skip to content

Commit e470f0d

Browse files
committed
update rust 1.75 news w.r.t. MACOSX_DEPLOYMENT_TARGET
1 parent 5003dd8 commit e470f0d

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

news/2024-01-29-rust-175-osx-sdk.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ With the release of `rust 1.75`, we now require setting the minimal
55
`recipe/conda_build_config.yaml` with the following content:
66

77
```yaml
8-
MACOSX_DEPLOYMENT_TARGET: # [osx and x86]
9-
- '10.12' # [osx and x86]
8+
c_stdlib_version: # [osx and x86]
9+
- '10.12' # [osx and x86]
1010
```
1111
12-
You should also add a run dependency on the respective OSX version:
12+
and adding `{{ stdlib("c") }}` as build dependency next to your compiler jinja:
1313

1414
```yaml
15-
run:
16-
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx and x86_64]
15+
build:
16+
- {{ compiler("rust") }}
17+
- {{ stdlib("c") }}
1718
```
1819

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.
20+
Note: This entry was update in April 2024 to reflect the new infrastructure for
21+
setting `MACOSX_DEPLOYMENT_TARGET`, see
22+
[here](https://conda-forge.org/news/2024/03/24/stdlib-migration/).

news/2024-04-09-clang-everywhere.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Clang now available as compiler for all platforms
2+

0 commit comments

Comments
 (0)