Rantanen / intercom

Object based cross-language FFI for Rust
MIT License
63 stars 7 forks source link

Improve build script error reporting #103

Closed Rantanen closed 5 years ago

Rantanen commented 5 years ago

Fixes #94

The build script uses cargo:warning to raise issues encountered during the build. This avoids the build from failing and Rustc from giving better error messages on things like syntax errors.

codecov-io commented 5 years ago

Codecov Report

Merging #103 into master will decrease coverage by 0.03%. The diff coverage is 79.16%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
- Coverage   80.46%   80.43%   -0.04%     
==========================================
  Files          57       57              
  Lines        4991     5065      +74     
==========================================
+ Hits         4016     4074      +58     
- Misses        975      991      +16
Impacted Files Coverage Δ
intercom-build/src/os/mod.rs 0% <0%> (ø) :arrow_up:
intercom-common/src/generators/mod.rs 0% <0%> (ø) :arrow_up:
intercom-build/src/lib.rs 75.75% <78.12%> (+75.75%) :arrow_up:
intercom-common/src/generators/cpp.rs 81.07% <86.66%> (-0.02%) :arrow_down:
intercom-common/src/generators/idl.rs 82.37% <86.66%> (-0.04%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 42d0efa...cd2ba69. Read the comment docs.