https://bugs.kde.org/show_bug.cgi?id=404127

            Bug ID: 404127
           Summary: Crashes if Cargo.toml isn't in the same dir as
                    bindings.json
           Product: rust-qt-binding-generator
           Version: unspecified
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: j...@vandenoever.info
          Reporter: jedibe...@gmail.com
  Target Milestone: ---

SUMMARY

rqbg seems to be expecting Cargo.toml to be in the same directory as
bindings.json.  It just prints `No such file or directory (os error 2)`
and exits if the file isn't there.  It should probably print a better
error and there should probably be a flag to set this path to the file
if to set the edition or something.

configuration.rs:473 is where it's crashing


STEPS TO REPRODUCE
1. Run rqbg where Cargo.toml isn't in the same directory as bindings.json

OBSERVED RESULT
No such file or directory (os error 2)


EXPECTED RESULT
Bindings are generated


SOFTWARE/OS VERSIONS
Manjaro w KDE

ADDITIONAL INFORMATION
rustc v1.32.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to