Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dotnet/node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 39db85f13d
Choose a base ref
...
head repository: dotnet/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f0e23f797d
Choose a head ref
  • 1 commit
  • 4 files changed
  • 2 contributors

Commits on Jul 27, 2026

  1. Enable Control Flow Guard for Windows binaries (#367)

    Backport the upstream Control Flow Guard plumbing and enable it, so node.exe
    and the other Windows binaries are built with /guard:cf.
    
    This branch is on Node 18.17, which predates upstream's CFG support, so unlike
    dotnet/main the plumbing has to be added first:
    
      * vcbuild.bat gains a "cfg" argument that maps to --control-flow-guard
      * configure.py gains --control-flow-guard, setting the control_flow_guard
        GYP variable
      * common.gypi applies /guard:cf to both VCCLCompilerTool and VCLinkerTool
        when that variable is "true", defaulting to "false"
    
    node.proj then passes "cfg" to vcbuild.bat to turn it on.
    
    Co-authored-by: Copilot <[email protected]>
    Copilot-Session: af43f907-f9b9-4b6a-8617-c0036ac8320c
    akoeplinger and Copilot authored Jul 27, 2026
    Configuration menu
    Copy the full SHA
    f0e23f7 View commit details
    Browse the repository at this point in the history
Loading