Skip to content

Commit d99df88

Browse files
committed
feat: loud scalar drop
1 parent ea67fb7 commit d99df88

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

ffi/codegen/meta.nim

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ const ffiOutputDir* {.strdefine.} = ""
173173
# set with -d:ffiSrcPath=../relative/path.nim
174174
const ffiSrcPath* {.strdefine.} = ""
175175

176-
# When set to true, scalar-only `abi = c` procs (which have no foreign-binding codegen
177-
# yet) are silently omitted from the generated bindings instead of failing the
178-
# build. Off by default so the drop is loud; see genBindings().
176+
# When set, scalar-only `abi = c` procs are silently omitted from bindings
177+
# generated by targets without scalar codegen (every target except `c_abi`)
178+
# instead of failing the build. Off by default so the drop is loud; see
179+
# genBindings().
179180
const ffiAllowScalarSkip* {.booldefine.} = false

0 commit comments

Comments
 (0)