Skip to content
Commit Detail

Commit bf6f1ff

Author
Felix Hanau <felix@cloudflare.com> 2024-03-26 13:33:04 -0400
Parents
67da9d5
Tree
23811f8
Reland PR #1900 "Add platform-specific release configuration"

The original PR failed to apply the `release` configuration to
`release_unix`, leading to a binary size regression, especially on
macOS. This was caused by bazel using fastbuild mode instead of opt
mode, leading to Rust code not being optimized and -DDEBUG being
defined on macOS through the bazel toolchain defaults.

- Fix a typo and clarify Windows release config comment

Original commit message:
- Match macOS wd_benchmark link options with wd_binary options
- Correct spelling of WIN32_LEAN_AND_MEAN
- /await and /GF are ignored by clang-cl, no need to pass them in the
  Windows build.

Files changed

6 files changed~6 modified