Skip to content

Commit

Permalink
Only use -gsimple-template-names with clang
Browse files Browse the repository at this point in the history
This option is not supported by clang-cl.exe which we use on Windows.
  • Loading branch information
ohodson committed Oct 27, 2023
1 parent 71ee52c commit f5b7120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ build:benchmark --config=profile
build:debug -c dbg

# Using simple template names saves around 5% of binary size of workerd.
build:debug --copt='-gsimple-template-names'
build:unix --cxxopt='-gsimple-template-names' --host_cxxopt='-gsimple-template-names'

# Define a config mode which is fastbuild but with basic debug info.
build:fastdbg -c fastbuild
Expand Down

0 comments on commit f5b7120

Please sign in to comment.