Skip to content

Fix VS2026 being passed an unsupported debug flag in -c fastbuild - #796

Open
robinlinden wants to merge 1 commit into
bazelbuild:mainfrom
robinlinden:fix-vs2026-fastbuild-link-warning
Open

Fix VS2026 being passed an unsupported debug flag in -c fastbuild#796
robinlinden wants to merge 1 commit into
bazelbuild:mainfrom
robinlinden:fix-vs2026-fastbuild-link-warning

Conversation

@robinlinden

Copy link
Copy Markdown

The /DEBUG:FASTLINK flag was removed in VS2026, so passing it leads to a warning.

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

This is a bit of an issue since that warning is promoted to an error if you're using --features=treat_warnings_as_errors.

Fixes #558, #749

The `/DEBUG:FASTLINK` flag was removed in VS2026, so passing it leads to a warning.

    LINK : warning LNK4315: /DEBUG:FASTLINK is no longer supported.
    Using /DEBUG:FULL instead. Use a VS 2022 toolchain to continue
    building with /DEBUG:FASTLINK
@robinlinden
robinlinden force-pushed the fix-vs2026-fastbuild-link-warning branch from 9736121 to 42bacf6 Compare July 18, 2026 19:01
@robinlinden
robinlinden marked this pull request as ready for review July 18, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/DEBUG:FASTLINK is deprecated

1 participant