Skip to content

bun:ffi: infer exact signatures from symbol definitions, fix cc argument/return conversions - #32075

Closed
robobun wants to merge 7 commits into
mainfrom
farm/b202b1d9/ffi-type-safety
Closed

bun:ffi: infer exact signatures from symbol definitions, fix cc argument/return conversions#32075
robobun wants to merge 7 commits into
mainfrom
farm/b202b1d9/ffi-type-safety

bun:ffi: pass the data address of sliced CString pointer arguments

58fd5a7
Select commit
Loading
Failed to load commit list.
Mintlify / Mintlify Validation (bun-1dd33a4e) - vale-spellcheck completed Jun 28, 2026 in 2s

Mintlify Validation (bun-1dd33a4e) - vale-spellcheck Failed

Found 7 suggested changes across 1 files in 639.03ms

Details

Running Vale across on the following files affected by this PR:

- runtime/ffi.mdx

Attempting to initialize Vale linter...
No customer vale configuration detected. Using Mintlify's default configuration.
Attempting to run Vale spellcheck...
Vale spellcheck completed successfully.

docs/runtime/ffi.mdx:
	- 15:4      Did you really mean 'dlopen'?
	- 36:24     Did you really mean 'cstring'?
	- 72:72     Did you really mean 'dlopen'?
	- 148:3     Did you really mean 'napi_env'?
	- 149:3     Did you really mean 'napi_value'?
	- 225:96    Did you really mean 'napi'?
	- 313:25    Did you really mean 'JSCallback'?


Found 7 suggested changes across 1 files in 639.03ms

Annotations

Check warning on line 15 in runtime/ffi.mdx

See this annotation in the file changed.

@mintlify mintlify / Mintlify Validation (bun-1dd33a4e) - vale-spellcheck

runtime/ffi.mdx#L15

Did you really mean 'dlopen'?

Check warning on line 36 in runtime/ffi.mdx

See this annotation in the file changed.

@mintlify mintlify / Mintlify Validation (bun-1dd33a4e) - vale-spellcheck

runtime/ffi.mdx#L36

Did you really mean 'cstring'?

Check warning on line 72 in runtime/ffi.mdx

See this annotation in the file changed.

@mintlify mintlify / Mintlify Validation (bun-1dd33a4e) - vale-spellcheck

runtime/ffi.mdx#L72

Did you really mean 'dlopen'?

Check warning on line 148 in runtime/ffi.mdx

See this annotation in the file changed.

@mintlify mintlify / Mintlify Validation (bun-1dd33a4e) - vale-spellcheck

runtime/ffi.mdx#L148

Did you really mean 'napi_env'?

Check warning on line 149 in runtime/ffi.mdx

See this annotation in the file changed.

@mintlify mintlify / Mintlify Validation (bun-1dd33a4e) - vale-spellcheck

runtime/ffi.mdx#L149

Did you really mean 'napi_value'?

Check warning on line 225 in runtime/ffi.mdx

See this annotation in the file changed.

@mintlify mintlify / Mintlify Validation (bun-1dd33a4e) - vale-spellcheck

runtime/ffi.mdx#L225

Did you really mean 'napi'?

Check warning on line 313 in runtime/ffi.mdx

See this annotation in the file changed.

@mintlify mintlify / Mintlify Validation (bun-1dd33a4e) - vale-spellcheck

runtime/ffi.mdx#L313

Did you really mean 'JSCallback'?