Open a3ru opened 5 days ago
I compiled it from scratch using the shell.nix from the odin repo and it works
@miragearhitect are there more reproduction steps that you can give? i created a minimal flake.nix
and main.odin
that pulled in the latest version of Odin, and ran the same code you did (albeit with Token
defined as an empty struct and NodeKind
as a u32) and was unable to reproduce on either x86_64-linux or aarch64-darwin
compiling this with ./build.sh
crashes but using a self compiled Odin it works
did some investigation, this is not tied to the recent LLVM version update (tested on 17 - what the nix-shell
is using and 13 - what was used previously) or the release build, going to require some additional digging into the rest of the package
Yes, it was tested by some guys from the Odin discord and llvm version wasn't the problem. For them my code worked
this is an issue with the tagged release for Odin, rebuilt with that version checked out instead of master
and was able to repro but was unable to repro on master
yup, compiling master is what fixed the problem
will wait for an tagged release before updating nixpkgs
to make sure that the version is "semi-official" (i.e. dev-2024-06a
) and causes no other unknown breaking changes, in the meantime, you can just pull in default.nix
for Odin and run callPackage
with the current working commit as your ref
Describe the bug
odin version dev-2024-06 is broken
Steps To Reproduce
results in a panic
Expected behavior
A clear and concise description of what you expected to happen.
Notify maintainers
@A1029384756
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.