-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate --universal2
in favor of universal2-apple-darwin
target
#1457
Conversation
✅ Deploy Preview for maturin-guide ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
001c627
to
14ec8e3
Compare
--univeral2
instead of universal2-apple-darwin
target--univeral2
in favor of universal2-apple-darwin
target
14ec8e3
to
990bd2b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noticed these, wanted to double check if the actually-checked value was ok (it is), but thought I should point em out.
Also seeing this in the action, but maybe that hasn't been updated yet:
Error: error: Error loading target specification: Could not find specification for target "universal2-apple-darwin". Run
rustc --print target-list
for a list of built-in targets
at installRustTarget (/Users/runner/work/_actions/PyO3/maturin-action/v1/dist/index.js:11795:15)
at async hostBuild (/Users/runner/work/_actions/PyO3/maturin-action/v1/dist/index.js:11841:5)
at async innerMain (/Users/runner/work/_actions/PyO3/maturin-action/v1/dist/index.js:11966:20)
at async main (/Users/runner/work/_actions/PyO3/maturin-action/v1/dist/index.js:11974:9)
@@ -509,6 +509,12 @@ impl BuildOptions { | |||
let mut target_triple = self.target.clone(); | |||
|
|||
let mut universal2 = self.universal2; | |||
if universal2 { | |||
eprintln!("⚠️ Warning: `--universal2` is deprecated, use `--target univeral2-apple-darwin` instead"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: "univeral2-apple-darwin" is missing an s
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
* Add Cargo compile targets configuration for filtering multiple bin targets in [#1339](https://github.com/PyO3/maturin/pull/1339) | |||
* Respect `rustflags` settings in cargo configuration file in [#1405](https://github.com/PyO3/maturin/pull/1405) | |||
* Bump MSRV to 1.63.0 in [#1407](https://github.com/PyO3/maturin/pull/1407) | |||
* Deprecate `--univeral2` in favor of `universal2-apple-darwin` target in [#1457](https://github.com/PyO3/maturin/pull/1457) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: "univeral2" is missing an s
Fixed in 11b0cca, thanks @bobzilladev |
--univeral2
in favor of universal2-apple-darwin
target--universal2
in favor of universal2-apple-darwin
target
https://build.opensuse.org/request/show/1072766 by user mia + dimstar_suse - Update to v0.14.15: * Add sdist and sccache support to generate-ci command - Changes in v0.14.14: * Add support for Emscripten in generate-ci command gh#PyO3/maturin#1484 * Use default ext_suffix for Emscripten target if not provided in PYO3_CONFIG_FILE gh#PyO3/maturin#1491 * Deprecate package.metadata.maturin.data in favor of tool.maturin.data in pyproject.toml gh#PyO3/maturin#1492 - Update to v0.14.13: * maturin develop now looks for a virtualenv .venv in the current or any parent directory if no virtual environment is active gh#PyO3/maturin#1462 * Add a new generate-ci command to generate CI configuration gh#PyO3/maturin#1456 * Deprecate --univeral2 in favor of universal2-apple-darwin target gh#PyO3/maturin#1457 * Raise an error
Makes the command line options less special for macOS, will remove
--universal2
in 1.0.