You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System & Odin Version: Win10 x64, dev-2025-03
Please paste odin report output:
Odin: dev-2025-04-nightly:d9f990d
OS: Windows 10 Professional (version: 22H2), build 19045.5796
CPU: Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
RAM: 32713 MiB
Backend: LLVM 20.1.0
Expected Behavior
Program should compile.
Current Behavior
Program doesn't compile.
Failure Information (for bugs)
It's a bug, program doesn't compile.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
I used this short example program:
// k.odin -----package main
@(require)import"core:thread"// <-- this is the line that breaks it.import"core:fmt"
main :: proc() {
fmt.println("Hello, world!")
}
Trying to compile using the following command:
odin run ./k.odin -file -default-to-nil-allocator
does not compile, here's the error:
<odin-install-location>/core/thread/thread.odin(517:30) Error: 'global_default_temp_allocator_data' is not declared by 'runtime'
... emp_allocator.data = &runtime.global_default_temp_allocator_data
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
Failure Logs
Irrelevant
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Context
odin report
output:Expected Behavior
Program should compile.
Current Behavior
Program doesn't compile.
Failure Information (for bugs)
It's a bug, program doesn't compile.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Failure Logs
Irrelevant
The text was updated successfully, but these errors were encountered: