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

Support Nim Language #1759

Merged
merged 7 commits into from
Oct 21, 2021
Merged

Support Nim Language #1759

merged 7 commits into from
Oct 21, 2021

Conversation

waruqi
Copy link
Member

@waruqi waruqi commented Oct 21, 2021

@waruqi waruqi added this to the v2.5.9 milestone Oct 21, 2021
@waruqi waruqi mentioned this pull request Oct 21, 2021
@waruqi waruqi merged commit ae65d03 into dev Oct 21, 2021
@waruqi waruqi deleted the nim branch October 21, 2021 04:42
local maps =
{
none = "--opt:none"
, fast = "--opt:speed"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, fast, faster and fastest should be -d:release by default because it also enables/disables other stuff, opt:speed by itself is not enough

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have improved it. thanks!

, faster = "--opt:speed"
, fastest = "--opt:speed"
, smallest = "--opt:size"
, aggressive = "--opt:speed"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be -d:danger I think, it's like -d:release but it also disables all runtime checks which makes sense for an aggressive build

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I will improve it. thanks.

, fast = "--opt:speed"
, faster = "--opt:speed"
, fastest = "--opt:speed"
, smallest = "--opt:size"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be -d:release --opt:size too, because -d: release coupled with opt:size is more effective than just opt:size

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant