Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add message about non-release mode to crystal --version #13254

Merged
merged 5 commits into from
Apr 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! Add more customizations to Crystal::Config.description
will committed Apr 7, 2023
commit 54b1d85a0f2df9f88e014778e2cfce069ef310a7
4 changes: 2 additions & 2 deletions src/compiler/crystal/config.cr
Original file line number Diff line number Diff line change
@@ -20,10 +20,10 @@ module Crystal
io << " [" << build_commit << "]" if build_commit
io << " (" << date << ")" unless date.empty?

io << "\n\nThe compiler was not built in release mode." unless release_mode?

io << "\n\nLLVM: " << llvm_version
io << "\nDefault target: " << host_target

io << "\n\nThe compiler was not built in release mode." unless release_mode?
io << "\n"
end
end