PageSourceSearch

https://conda-forge.org/assets/js/773a87b4.1115a11d.js

js conda-forge.org collected 2026-09-24 08:49:57 UTC 2,817 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkcf_infra_docs=globalThis.webpackChunkcf_infra_docs||[]).push([[8788],{41942(e,n,t){t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>a,default:()=>u,frontMatter:()=>i,metadata:()=>r,toc:()=>d});var r=t(18904),s=t(74848),o=t(28453);const i={},a="Rust 1.75 requires setting newer MACOSX_DEPLOYMENT_TARGET",c={authorsImageUrls:[]},d=[];function l(e){const n={a:"a",code:"code",p:"p",pre:"pre",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.p,{children:["With the release of ",(0,s.jsx)(n.code,{children:"rust 1.75"}),", we now require setting the minimal\n",(0,s.jsx)(n.code,{children:"MACOSX_DEPLOYMENT_TARGET"})," to at least ",(0,s.jsx)(n.code,{children:"10.12"}),". You can do this by appending\n",(0,s.jsx)(n.code,{children:"recipe/conda_build_config.yaml"})," with the following content:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:"c_stdlib_version:       # [osx and x86]\n  - '10.12'             # [osx and x86]\n"})}),"\n",(0,s.jsxs)(n.p,{children:["and adding ",(0,s.jsx)(n.code,{children:'{{ stdlib("c") }}'})," as build dependency next to your compiler jinja:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-yaml",children:'  build:\n    - {{ compiler("rust") }}\n    - {{ stdlib("c") }}\n'})}),"\n",(0,s.jsxs)(n.p,{children:["Note: This entry was update in April 2024 to reflect the new infrastructure for\nsetting ",(0,s.jsx)(n.code,{children:"MACOSX_DEPLOYMENT_TARGET"}),", see\n",(0,s.jsx)(n.a,{href:"https://conda-forge.org/news/2024/03/24/stdlib-migration/",children:"here"}),"."]})]})}function u(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},28453(e,n,t){t.d(n,{R:()=>i,x:()=>a});var r=t(96540);const s={},o=r.createContext(s);function i(e){const n=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(o.Provider,{value:n},e.children)}},18904(e){e.exports=JSON.parse('{"permalink":"/news/2024/01/29/rust-175-osx-sdk","source":"@site/news/2024-01-29-rust-175-osx-sdk.md","title":"Rust 1.75 requires setting newer MACOSX_DEPLOYMENT_TARGET","description":"With the release of rust 1.75, we now require setting the minimal","date":"2024-01-29T00:00:00.000Z","tags":[],"hasTruncateMarker":false,"authors":[],"frontMatter":{},"unlisted":false,"prevItem":{"title":"Dropping CUDA 11.2 on 2024 April 22","permalink":"/news/2024/03/06/dropping-cuda-112"},"nextItem":{"title":"Python 3.12 migration and Python 3.11 by default","permalink":"/news/2023/09/25/python-312-migration-and-python-311-by-default"}}')}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.