tree: 415074bdcfcc2a1c33c7a076a2f49daa54883cf3 [path history] [tgz]
  1. comment.h
  2. comment_rs_api.rs
  3. comment_rs_api_impl.cc
  4. doc_comment.h
  5. doc_comment_rs_api.rs
  6. doc_comment_rs_api_impl.cc
  7. item_order.h
  8. item_order_rs_api.rs
  9. item_order_rs_api_impl.cc
  10. nontrivial_type.h
  11. nontrivial_type_rs_api.rs
  12. nontrivial_type_rs_api_impl.cc
  13. README.md
  14. test.sh
  15. types.h
  16. types_rs_api.rs
  17. types_rs_api_impl.cc
  18. unsupported.h
  19. unsupported_rs_api.rs
  20. unsupported_rs_api_impl.cc
  21. update.sh
rs_bindings_from_cc/test/golden/README.md

Golden file tests

Instructions

  • Add a new test by adding a foo.h file and executing ./update.sh. This will generate the corresponding bindings files foo.cc and foo.rs.
  • If a test in this directory fails, look at the output. It should contain a diff of the failure.
  • If you get spurious failures in this directory: Run ./update.sh.