Skip to content

doc: use ffi.suffix in permission example - #64914

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
agape1225:ffi-doc-portable-suffix
Aug 4, 2026
Merged

doc: use ffi.suffix in permission example#64914
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
agape1225:ffi-doc-portable-suffix

Conversation

@agape1225

Copy link
Copy Markdown
Contributor

The --allow-ffi example in cli.md hard-coded the Linux-only .so extension. node:ffi already exposes suffix for exactly this case, and doc/api/ffi.md's own examples use it. Do the same here.

@nodejs-github-bot nodejs-github-bot added cli Issues and PRs related to the Node.js command line interface. doc Issues and PRs related to the documentations. labels Aug 1, 2026
The `--allow-ffi` example in cli.md hard-coded the Linux-only `.so`
extension. node:ffi already exposes `suffix` for exactly this case,
and doc/api/ffi.md's own examples use it. Do the same here.

Assisted-by: Claude Sonnet 5
Signed-off-by: agape1225 <49804691+agape1225@users.noreply.github.com>
@agape1225
agape1225 force-pushed the ffi-doc-portable-suffix branch from 972a072 to 11d12e8 Compare August 1, 2026 14:39
@trivikr trivikr added the ffi Issues and PRs related to experimental Foreign Function Interface support. label Aug 4, 2026
@trivikr trivikr added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 4, 2026
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 4, 2026
@nodejs-github-bot
nodejs-github-bot merged commit 2010da5 into nodejs:main Aug 4, 2026
22 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 2010da5

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

Labels

cli Issues and PRs related to the Node.js command line interface. doc Issues and PRs related to the documentations. ffi Issues and PRs related to experimental Foreign Function Interface support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants