-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
get zig working well on windows #302
Comments
There seems to be an issue with LLVM when using the native target features for my laptop. I sent an email to the llvm-dev mailing list. For now I will check for Windows OS and skip using the target native features as a workaround. |
@marler8997 I'm doing a lot of windows work this weekend. Are you around? |
branch and phi instead of select instruction fixes division test for windows. See #302
I believe the remaining behavior test failure is an LLVM bug: http://lists.llvm.org/pipermail/llvm-dev/2017-September/117864.html I think I can work around this by specifying extra alignment for packed structs. |
now the compiler-rt tests are passing on windows. See #302
fixes crash when evaluating user code that hits the branch limit See #302
fixes test failures on windows See #302 patch sent upstream: http://lists.llvm.org/pipermail/llvm-dev/2017-October/118234.html
--target
options in order to make tests work___chkstk_ms
pub main
orexport fn main
causes-mconsole
,export fn WinMain
causes-mwindows
.exes generated with environment msvc should make pdb files and be debuggable with msvcstd.io.InStream
windows implementationstd.os.args
windows implementationstd.os.ChildProcess
windows implementation.\bin\zig.exe --build-file ..\build.zig test
all passinglook for libc at runtimecross compiling tetris using zig build systemnative building of tetrisThe text was updated successfully, but these errors were encountered: