Skip to content

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

Merged
fitzgen merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:only-infer-native-flags-on-host
Feb 23, 2024
Merged

Don't infer host flags for cross-compiled targets#7991
fitzgen merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:only-infer-native-flags-on-host

Conversation

@alexcrichton
Copy link
Copy Markdown
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
@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.

2 participants