Matthijs Brobbel
Matthijs Brobbel
https://github.com/rust-lang/cargo/issues/5015
I'm working on this.
The example seems to run in CI (on #284): https://github.com/abs-tudelft/fletcher/runs/5535140660?check_suite_focus=true#step:7:12
``` Elaborating simtop_tc... Running simtop_tc... /usr/local/bin/ghdl:error: bound check failure at /home/vsts/work/1/s/examples/nullable-sum/hardware/vhdl/Sum_ExampleBatch.gen.vhd:99 from: work.sum_examplebatch(implementation).DEFAULT_CNFIG.arrayreader at Sum_ExampleBatch.gen.vhd:106 /usr/local/bin/ghdl:error: error during elaboration ```
I started working on an action based on the ideas presented in this issue: https://github.com/mbrobbel/rustfmt-check.
You can add: https://github.com/dtolnay/cxx/blob/c96397721c2fd61b0809ca4c38d9c5ef9008b25a/gen/build/src/lib.rs#L134
`B` from the `rustfmt-check` would be rejected if it's pushed after `C`. We would have to explicitly set [`force`](https://docs.github.com/en/rest/git/refs?apiVersion=2022-11-28#update-a-reference--parameters) with `updateRef` to overwrite.
I'm trying to reproduce this with a test that outputs a very large JSON, but I can't reproduce the error. Is there anything that you share that might help me...