Odin
Odin copied to clipboard
Odin Programming Language
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...
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...
## Context Odin: dev-2024-06:02f11dfde OS: macOS Sonoma 14.4.1 (build: 23F79, kernel: 23.4.0) CPU: Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz RAM: 16384 MiB Backend: LLVM 18.1.6 Calling linalg.mul with a `Matrix2`...
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 ""...
## Context In a utility function to be able to use the Spall debugger: ``` @(deferred_out=profiler_end) profiler_start :: proc() -> (^spall.Context, ^spall.Buffer, []byte){ @static spall_ctx: spall.Context @static spall_buffer: spall.Buffer profiler_mem...
## Context Odin: dev-2024-06:02f11dfde OS: macOS Mojave 10.14.6 (build: 18G2022, kernel: 18.7.0) CPU: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz RAM: 8192 MiB Backend: LLVM 13.0.1 Also happens on my M1...
Here's a minimal program to test. Note the space between the `0x` and `1`. ```odin package silent main :: proc() { a := 0x 1 } ``` And the error...
```odin package main S :: struct {i,j: int} main :: proc () { // This evokes an error: s1: #soa[2]S = {{i = 1, j = 2}, {i = 3,...