Running a .cr file from the command line works fine, but inside this TextMate bundle, I am receiving a bunch of warnings:
ld: warning: ignoring file I-nt32.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file A-rgumentE-rror.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64
ld: warning: ignoring file I-nt64.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64
...
etc. finally resulting in:
attempting to link with file built for unknown-arm64
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: cc "${@}" -o /Users/bolandross/.cache/crystal/crystal-run-main.tmp -rdynamic -L/opt/homebrew/Cellar/crystal/1.6.0/libexec/../../../../lib -lgc -L/opt/homebrew/Cellar/libevent/2.1.12/lib -levent -liconv
any ideas how to solve this?