bah, i'm now hitting this one:
```
error[E0080]: attempt to compute `1_usize - 8_usize`, which would overflow
--> /usr/obj/ports/firefox-esr-140.10.2/build-amd64/x86_64-unknown-openbsd/release/build/gecko-profiler-8a7d8bb9e019d9b2/out/gecko/bindings.rs:1262:11
|
1262 | ][::std::mem::size_of::<root::mozilla::UniquePtr>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `gecko_bindings::structs::root::_` failed here
```
that generated file does have the 'generated by rust-bindgen 0.72' header.
Bug 2038504 Comment 9 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
bah, i'm now hitting this one:
```
error[E0080]: attempt to compute `1_usize - 8_usize`, which would overflow
--> /usr/obj/ports/firefox-esr-140.10.2/build-amd64/x86_64-unknown-openbsd/release/build/gecko-profiler-8a7d8bb9e019d9b2/out/gecko/bindings.rs:1262:11
|
1262 | ][::std::mem::size_of::<root::mozilla::UniquePtr>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `gecko_bindings::structs::root::_` failed here
```
that generated file does have the 'generated by rust-bindgen 0.72' header.
the syntax error seems to be in code generated for testing-only, if i drop the code chunk it seems rust code finally builds.