bazelbuild / bazelbuild/rules_cc

Autodetected toolchain on Windows with Visual Studio 2026 issues a warning due to `/DEBUG:FASTLINK`

Open
#749 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
247
Forks
196
PR merge metrics
No merged PRs in 30d

Description

`/DEBUG:FASTLINK` is no longer supported in VS 2026. To prevent a warning, the autodetection machinery should not use `FASLINK` in that situation.

```
LINK : warning LNK4315: /DEBUG:FASTLINK is no longer supported. Using /DEBUG:FULL instead. Use a VS 2022 toolchain to continue building with /DEBUG:FASTLINK
```

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by tracing the Windows Visual Studio toolchain autodetection that selects /DEBUG:FASTLINK, then reproduce the warning with VS 2026. Done means the VS 2026 warning is absent while VS 2022 can still use /DEBUG:FASTLINK.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.