Skip to content

Commit

Permalink
Disable optimization when compilation mode is set to fastbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
purkhusid committed Apr 3, 2024
1 parent 950985d commit 8518611
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions docs/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dotnet/private/common.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def tfm_to_semver(tfm):
fail("Could not get tfm semver version: {}", tfm)

def is_debug(ctx):
return ctx.var["COMPILATION_MODE"] == "dbg"
return ctx.var["COMPILATION_MODE"] == "dbg" or ctx.var["COMPILATION_MODE"] == "fastbuild"

def use_highentropyva(tfm):
return tfm not in ["net20", "net40"]
Expand Down

0 comments on commit 8518611

Please sign in to comment.