mirror of
https://github.com/logos-storage/circom-compat-ffi.git
synced 2026-01-05 22:33:12 +00:00
moving cbingen.tom out
This commit is contained in:
parent
5a522239a6
commit
ea1acedf4e
@ -1,32 +0,0 @@
|
|||||||
[parse]
|
|
||||||
parse_deps = false
|
|
||||||
expand = ["rust-circom-compat-ffi"]
|
|
||||||
|
|
||||||
# Configuration for name mangling
|
|
||||||
[export.mangle]
|
|
||||||
# Whether the types should be renamed during mangling, for example
|
|
||||||
# c_char -> CChar, etc.
|
|
||||||
rename_types = "CamelCase"
|
|
||||||
# Whether the underscores from the mangled name should be omitted.
|
|
||||||
remove_underscores = true
|
|
||||||
|
|
||||||
[struct]
|
|
||||||
# A rule to use to rename struct field names. The renaming assumes the input is
|
|
||||||
# the Rust standard snake_case, however it acccepts all the different rename_args
|
|
||||||
# inputs. This means many options here are no-ops or redundant.
|
|
||||||
#
|
|
||||||
# possible values (that actually do something):
|
|
||||||
# * "CamelCase": my_arg => myArg
|
|
||||||
# * "PascalCase": my_arg => MyArg
|
|
||||||
# * "GeckoCase": my_arg => mMyArg
|
|
||||||
# * "ScreamingSnakeCase": my_arg => MY_ARG
|
|
||||||
# * "None": apply no renaming
|
|
||||||
#
|
|
||||||
# technically possible values (that shouldn't have a purpose here):
|
|
||||||
# * "SnakeCase": apply no renaming
|
|
||||||
# * "LowerCase": apply no renaming (actually applies to_lowercase, is this bug?)
|
|
||||||
# * "UpperCase": same as ScreamingSnakeCase in this context
|
|
||||||
# * "QualifiedScreamingSnakeCase" => same as ScreamingSnakeCase in this context
|
|
||||||
#
|
|
||||||
# default: "None"
|
|
||||||
rename_fields = "CamelCase"
|
|
||||||
Loading…
x
Reference in New Issue
Block a user