-
I've made some changes to the parser. Now rust-analyzer is erroring out, showing a stack trace with some of my changes.
I'm guessing that generating pure_dart serves as a test case, though I'm not sure why that would happen in rust-analyzer. I can't figure out how that process gets triggered. Is there something in the Cargo.toml that configures it as a test? I found |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Looks like it is called in flutter_rust_bridge/frb_codegen/src/parser/mod.rs:243:25. If you show more stack traces you can see wher it is called |
Beta Was this translation helpful? Give feedback.
-
After putting an infinite loop in my code to make sure it doesn't exit, I ran The answer I was looking for was here: |
Beta Was this translation helpful? Give feedback.
After putting an infinite loop in my code to make sure it doesn't exit, I ran
top
and saw thatbuild-script-build
was pinned at 100% CPU usage. I tried to attach the debugger to it, but it didn't work for unknown reasons. I searched the internet for build-script-build and landed on "build.rs" being a special file.The answer I was looking for was here:
Build Scripts - The Cargo Book