Skip to content

Commit 6dc941e

Browse files
meteorcloudycopybara-github
authored andcommitted
Remove restriction on generate_pdb_file to be only used in dbg and fastbuild mode
Users may want to build in opt mode and still want the pdb file to be a linking action output. See bazelbuild/rules_cc#94 (comment) RELNOTES: None PiperOrigin-RevId: 372351216
1 parent 762b5d8 commit 6dc941e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tools/cpp/windows_cc_toolchain_config.bzl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -666,10 +666,6 @@ def _impl(ctx):
666666

667667
generate_pdb_file_feature = feature(
668668
name = "generate_pdb_file",
669-
requires = [
670-
feature_set(features = ["dbg"]),
671-
feature_set(features = ["fastbuild"]),
672-
],
673669
)
674670

675671
output_execpath_flags_feature = feature(

0 commit comments

Comments
 (0)