Laytan

Results 62 issues of Laytan

Makes `odin run` behave more like `odin build test && ./test` in that it causes (on most shells) the "segmentation fault" message to display, eg: ``` $ odin run test.odin...

Has been an issue for a long time, but never an actual GitHub issue. Static map calls are currently disabled on the amd64 sysv ABI because it causes segfaults (iirc...

llvm-backend

Should either: - build an object file that is ready to put in a static library with `ar` and the likes - or also actually call `ar` and put the...

*nix

The `core:odin/parser` can't parse expressions like this: ```odin LIB :: ( "lib/cgltf.lib" when ODIN_OS == .Windows else "lib/cgltf.a" when ODIN_OS == .Linux else "lib/darwin/cgltf.a" when ODIN_OS == .Darwin else ""...

bug
core-library

The heap allocator in os2 for Linux has a data-race. Observable by running the IO tests added in https://github.com/odin-lang/Odin/pull/4112 See `-sanitize:thread`: ``` WARNING: ThreadSanitizer: data race (pid=12498) Read of size...

Had a quick look at float emulation today so we can support use cases where targets don't support floats in the future. With the current progress in this PR a...

Just running the demo gives you: `src/llvm_backend_const.cpp(93): Assertion Failure: 'lb_sizeof(dst) == lb_sizeof(src)' i8 vs i0`. We may just want to drop support at some point.

bug
llvm-backend

I am on MacOS but I believe this would show everywhere. ```odin package main import "base:runtime" main :: proc() { runtime.print_string("Hellope!\n") } ``` ``` odin run test-minimal.odin -file -no-crt -default-to-nil-allocator...

bug

`-build-mode:test` seems to stick to the allowed flags for building when it shouldn't be.

enhancement

Was looking at #3970 which crashes because it tries to print a big error message, looks like that code was just extremely busted? Here is an attempt at fixing, after...