🐛 Keep the slow-answer mark out of the device's wire header
answersplit exports SLOW_ANSWER_NS from reims-vgpu-graphics' root for reims-vgpu's slow-answer counts, and cbindgen then wrote it into reims_graphics_wire.h, which the guest's kexts and the option ROM compile: `cargo xtask header --check` failed in the merge batch. The mark is the host's alone, so cbindgen.toml excludes it beside the other host constants, and the committed header stays as it was (no guest set or ROM rebuild).
This commit is contained in:
1 parent
1271804ce8
commit
dd4ab9d7ad
1 file changed
+5
-2
@@ -25,8 +25,11 @@ parse_deps = false
|
||||
[export]
|
||||
prefix = ""
|
||||
item_types = ["constants", "structs"]
|
||||
# The host side's constants, which the guest reads from the registers instead.
|
||||
exclude = ["MAX_DOORBELL_ROUTES", "REGION_SIZE", "RgfxOpSetDepthCleared", "RgfxOpSetStencilCleared"]
|
||||
# The host side's constants, which the guest reads from the registers instead or never sees (SLOW_ANSWER_NS, the
|
||||
# host's mark for a slow answer).
|
||||
exclude = [
|
||||
"MAX_DOORBELL_ROUTES", "REGION_SIZE", "RgfxOpSetDepthCleared", "RgfxOpSetStencilCleared", "SLOW_ANSWER_NS",
|
||||
]
|
||||
# The records, which no function names, listed so that cbindgen writes them.
|
||||
include = [
|
||||
"RgfxArgumentDescriptor",
|
||||
|
||||
Reference in new issue
Block a user