Skip to content

Produce an error at runtime rather than at compile time for unsupport…#5627

Merged
cfallin merged 1 commit intobytecodealliance:mainfrom
bjorn3:cranelift-native-x86
Jan 24, 2023
Merged

Produce an error at runtime rather than at compile time for unsupport…#5627
cfallin merged 1 commit intobytecodealliance:mainfrom
bjorn3:cranelift-native-x86

Conversation

@bjorn3
Copy link
Contributor

@bjorn3 bjorn3 commented Jan 24, 2023

…ed architectures in cranelift-native

Copy link
Member

@cfallin cfallin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Happy to take this, maybe with the whole block removed instead (see below).

For others' reference, this PR comes from this discussion.

@github-actions github-actions bot added the cranelift Issues related to the Cranelift code generator label Jan 24, 2023
@bjorn3 bjorn3 force-pushed the cranelift-native-x86 branch from d59600d to 69dd38f Compare January 24, 2023 18:41
@cfallin cfallin enabled auto-merge (squash) January 24, 2023 18:42
@cfallin cfallin merged commit ec6922f into bytecodealliance:main Jan 24, 2023
@bjorn3 bjorn3 deleted the cranelift-native-x86 branch January 24, 2023 19:22
@bjorn3
Copy link
Contributor Author

bjorn3 commented Jan 24, 2023

Would a patch release for cranelift-native be possible or should I vendor it for the time being?

@cfallin
Copy link
Member

cfallin commented Jan 24, 2023

I think this probably doesn't meet the bar for a patch release (unsupported platform, no functional correctness issue, just ergonomics around how to fail cleanly); probably best to vendor, sorry! It'll go out with the 6.0 release on Feb 20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants