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

Don't infer host flags for cross-compiled targets #7991

Merged

Conversation

alexcrichton
Copy link
Member

This commit fixes an accidental regression from #7766 where infer_native_flags is called even if a target is explicitly specified to a Config. Now inference only happens if a target isn't specified meaning that the host is selected.

This commit fixes an accidental regression from bytecodealliance#7766 where
`infer_native_flags` is called even if a target is explicitly specified
to a `Config`. Now inference only happens if a target isn't specified
meaning that the host is selected.
@alexcrichton alexcrichton requested a review from a team as a code owner February 23, 2024 16:28
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team February 23, 2024 16:28
@fitzgen fitzgen added this pull request to the merge queue Feb 23, 2024
Merged via the queue into bytecodealliance:main with commit 0724fe2 Feb 23, 2024
19 checks passed
@alexcrichton alexcrichton deleted the only-infer-native-flags-on-host branch February 23, 2024 18:12
saulecabrera pushed a commit to saulecabrera/wasmtime that referenced this pull request Mar 12, 2024
)

This commit fixes an accidental regression from bytecodealliance#7766 where
`infer_native_flags` is called even if a target is explicitly specified
to a `Config`. Now inference only happens if a target isn't specified
meaning that the host is selected.
saulecabrera pushed a commit to saulecabrera/wasmtime that referenced this pull request Mar 12, 2024
)

This commit fixes an accidental regression from bytecodealliance#7766 where
`infer_native_flags` is called even if a target is explicitly specified
to a `Config`. Now inference only happens if a target isn't specified
meaning that the host is selected.
saulecabrera added a commit that referenced this pull request Mar 12, 2024
This commit fixes an accidental regression from #7766 where
`infer_native_flags` is called even if a target is explicitly specified
to a `Config`. Now inference only happens if a target isn't specified
meaning that the host is selected.

Co-authored-by: Alex Crichton <alex@alexcrichton.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants