Skip to content

stage1: Compile error instead of falling back to C for unsupported cc#6829

Merged
Vexu merged 4 commits intoziglang:masterfrom
tadeokondrak:error-unsupported-callconv
Nov 19, 2020
Merged

stage1: Compile error instead of falling back to C for unsupported cc#6829
Vexu merged 4 commits intoziglang:masterfrom
tadeokondrak:error-unsupported-callconv

Conversation

@tadeokondrak
Copy link
Copy Markdown
Contributor

@tadeokondrak tadeokondrak commented Oct 27, 2020

Opening this to check CI, since GitHub won't let me reopen the old one.
Still needs translate-c support before it's ready.

translate-c seems to already be arch-specific, and clang gives us the right calling conventions by default.

Closes #6536.

@tadeokondrak tadeokondrak changed the title stage1: Compile error instead of falling back to C for unsupported cc Verified stage1: Compile error instead of falling back to C for unsupported cc Oct 27, 2020
@tadeokondrak tadeokondrak marked this pull request as ready for review October 27, 2020 01:02
Copy link
Copy Markdown
Contributor

@xackus xackus left a comment

Choose a reason for hiding this comment

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

Could you add a test to test/compile_errors.zig?

@Vexu Vexu force-pushed the error-unsupported-callconv branch from b98dd3c to f6ed7cd Compare November 19, 2020 12:20
@Vexu Vexu force-pushed the error-unsupported-callconv branch from f6ed7cd to 3a28b65 Compare November 19, 2020 12:25
@Vexu Vexu merged commit cf819b9 into ziglang:master Nov 19, 2020
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.

Compile error instead of falling back to C for unsupported calling conventions

3 participants