Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG1eaf62a67c1a: rust: better treatment of cargo/rustc errors
rHG5955cf85ed74: rust: better treatment of cargo/rustc errors
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
+ cargocmd = ['cargo', 'build', '-vv', '--release']
+ try:
+ subprocess.check_call(cargocmd, env=env, cwd=self.rustsrcdir)
+ except OSError as exc:
+ if exc.errno == os.errno.ENOENT:
Added import errno to not abuse os.errno. I don't think it's a re-exported
module.