zig icon indicating copy to clipboard operation
zig copied to clipboard

remove `-fstage1` option

Open andrewrk opened this issue 3 years ago • 6 comments

After this commit, the self-hosted compiler does not offer the option to use stage1 as a backend anymore.

Merge blockers:

  • #6025
  • #12756
  • #12880
  • #13077

andrewrk avatar Nov 01 '22 03:11 andrewrk

#12880 is major issue preventing stage2 from being used when targeting WebAssembly.

jedisct1 avatar Nov 01 '22 11:11 jedisct1

#12880 is major issue preventing stage2 from being used when targeting WebAssembly.

I was unaware of that issue, but I'll happily investigate and fix the issue before this is merged.

Luukdegram avatar Nov 01 '22 12:11 Luukdegram

Please don't take away stage1 until we can create multi-file modules again:

https://github.com/ziglang/zig/issues/13077

I have multiple projects that are blocked by this (and async/await).

billzez avatar Nov 01 '22 16:11 billzez

Also would like to bring up #12756 where stage2 actually regresses on the abilities of stage1 in terms of comptime assembly. In that thread it was also mentioned that this affects aarch64 and vastly increases the amount of code

IridescentRose avatar Nov 01 '22 20:11 IridescentRose

Thanks all - I added more merge blockers in the PR description.

andrewrk avatar Nov 01 '22 21:11 andrewrk

#12880 is major issue preventing stage2 from being used when targeting WebAssembly.

#13396 :)

Luukdegram avatar Nov 02 '22 06:11 Luukdegram

https://github.com/ziglang/zig/issues/12404 would like this to be added as a blocker please

nektro avatar Nov 15 '22 00:11 nektro

Superseded by #13560. We will be temporarily regressing async/await/suspend/resume in master branch.

andrewrk avatar Dec 06 '22 04:12 andrewrk