Skip to content

Windows PlatformToolset: Provide stable C++ API to addons #6045

@saper

Description

@saper

This is a followup to #2365

When building nodejs addons it is very important to use the same C++ ABI as the original node engine installed. Currently node releases are done with Visual Studio 2013 so I'd propose we add v120 as the PlatformToolset.

Maybe we could store the PlatformToolset used in the config.gypi file, so that all add-ons can pick it up and configure themselves accordingly?

Example of a real problem caused by this issue: sass/node-sass#1326

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions