Skip to content
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

Specify higher target-lexicon version #4087

Merged
merged 1 commit into from
Apr 17, 2024
Merged

Conversation

mejrs
Copy link
Member

@mejrs mejrs commented Apr 16, 2024

This fixes the following error:

error[E0599]: no variant or associated item named `Aix` found for enum `OperatingSystem` in the current scope
   --> C:\Users\bruno\.cargo\registry\src\index.crates.io-6f17d22bba15001f\pyo3-build-config-0.21.2\src\impl_.rs:779:56
    |
779 |         || target.operating_system == OperatingSystem::Aix
    |                                                        ^^^ variant or associated item not found in `OperatingSystem`
    |
note: if you're trying to build a new `OperatingSystem`, consider using `target_lexicon::host::<impl OperatingSystem>::host` which returns `OperatingSystem`
   --> C:\Users\bruno\Rust\my_module\target\debug\build\target-lexicon-12b61036834cd904\out/host.rs:43:5
    |
43  |     pub const fn host() -> Self {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0599`.

@mejrs mejrs added the CI-skip-changelog Skip checking changelog entry label Apr 16, 2024
@messense messense added this pull request to the merge queue Apr 17, 2024
Merged via the queue into PyO3:main with commit 9761abf Apr 17, 2024
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants