uniffi-rs
                                
                                 uniffi-rs copied to clipboard
                                
                                    uniffi-rs copied to clipboard
                            
                            
                            
                        Better errors on parse failures
eg, in the nimbus IDL, I removed the trailing semicolon from the first (ie, namespace) line and see:
thread 'main' panicked at 'There is redundant raw data after parsing', C:\Users\skip.cargo\registry\src\github.com-1ecc6299db9ec823\weedle-0.11.0\src\lib.rs:85:5 note: run with
RUST_BACKTRACE=1environment variable to display a backtrace thread 'main' panicked at 'calledResult::unwrap()on anErrvalue: Error while generating scaffolding code', build.rs:6:60 note: run withRUST_BACKTRACE=1environment variable to display a backtrace
(no idea if other errors are the same - I stumbled on this "organically")
┆Issue is synchronized with this Jira Task ┆Issue Number: UNIFFI-34
no idea if other errors are the same
Yeah, the errors are almost universally bad here, sorry. I think the parser we're using is designed more for parsing known-good WebIDL files obtained from a spec than for doing iterative development of a new IDL file.