Skip to content

build: test V8_DISABLE_PRESERVE_MOST - #67093

Open
joyeecheung wants to merge 2 commits into
nodejs:mainfrom
joyeecheung:fix-perserve-most
Open

joyeecheung wants to merge 2 commits into
nodejs:mainfrom
joyeecheung:fix-perserve-most

Conversation

@joyeecheung

Copy link
Copy Markdown
Member

Opening this to test an alternative to https://chromium-review.googlesource.com/c/v8/v8/+/8532546 in the CI

joyeecheung and others added 2 commits October 28, 2026 20:41
Original commit message:

    Add V8_DISABLE_PRESERVE_MOST for embedders to opt out of preserve_most

    preserve_most changes the calling convention, which clang
    encodes in the mangled name (e.g. "U" instead of "A" for cdecl in the
    Microsoft C++ ABI). A consumer whose toolchain does not support
    the attribute would reference a differently mangled symbol.
    This patch adds a V8_DISABLE_PRESERVE_MOST to disable it, so that
    it's possible to link to V8 using different toolchains, as long
    as the value of it is set consistently.

    Refs: nodejs#55784

Refs: v8/v8@8c44bcb
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/security-wg
  • @nodejs/v8-update

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. v8 engine Issues and PRs related to the V8 dependency. labels Oct 28, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@joyeecheung
joyeecheung marked this pull request as ready for review October 29, 2026 11:31
@joyeecheung

Copy link
Copy Markdown
Member Author

(triggering GHA for testing, not ready for review)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants