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
Hi, I'm trying to run specs for Amber on macOS (amberframework/amber#879) and looks like brew openssl needs to be linked directly in the compiler, so I tried this: (suggested by @bcardiff )
Unhandled exception: Invalid option: --link-flags (OptionParser::InvalidOption)
from /usr/local/Cellar/crystal-lang/0.25.0_1/src/option_parser.cr:79:45 in '->'
from /usr/local/Cellar/crystal-lang/0.25.0_1/src/option_parser.cr:255:3 in 'check_invalid_options'
from /usr/local/Cellar/crystal-lang/0.25.0_1/src/option_parser.cr:228:7 in 'parse'
from /usr/local/Cellar/crystal-lang/0.25.0_1/src/option_parser.cr:184:5 in 'parse'
from /usr/local/Cellar/crystal-lang/0.25.0_1/src/spec.cr:109:1 in '__crystal_main'
from /usr/local/Cellar/crystal-lang/0.25.0_1/src/crystal/main.cr:104:5 in 'main_user_code'
from /usr/local/Cellar/crystal-lang/0.25.0_1/src/crystal/main.cr:93:7 in 'main'
from /usr/local/Cellar/crystal-lang/0.25.0_1/src/crystal/main.cr:133:3 in 'main'
I looked into the compiler source code and I found that crystal spec is using setup_simple_compiler_options, so, it doesn't support all flags.
Hi, I'm trying to run specs for Amber on macOS (amberframework/amber#879) and looks like brew openssl needs to be linked directly in the compiler, so I tried this: (suggested by @bcardiff )
And I got this:
I looked into the compiler source code and I found that
crystal spec
is usingsetup_simple_compiler_options
, so, it doesn't support all flags.crystal/src/compiler/crystal/command.cr
Line 484 in 9da2831
crystal/src/compiler/crystal/command/spec.cr
Lines 14 to 17 in 430fea3
The text was updated successfully, but these errors were encountered: