tree: cfc667b0705988942f645c8494a073c6ae299a03 [path history] [tgz]
  1. clang_attrs.h
  2. clang_attrs_rs_api.rs
  3. clang_attrs_rs_api_impl.cc
  4. comment.h
  5. comment_rs_api.rs
  6. comment_rs_api_impl.cc
  7. doc_comment.h
  8. doc_comment_rs_api.rs
  9. doc_comment_rs_api_impl.cc
  10. escaping_keywords.h
  11. escaping_keywords_rs_api.rs
  12. escaping_keywords_rs_api_impl.cc
  13. generate_bindings.bzl
  14. inheritance.h
  15. inheritance_rs_api.rs
  16. inheritance_rs_api_impl.cc
  17. item_order.h
  18. item_order_rs_api.rs
  19. item_order_rs_api_impl.cc
  20. lifetimes.h
  21. lifetimes_rs_api.rs
  22. lifetimes_rs_api_impl.cc
  23. no_elided_lifetimes.h
  24. no_elided_lifetimes_rs_api.rs
  25. no_elided_lifetimes_rs_api_impl.cc
  26. nontrivial_type.h
  27. nontrivial_type_rs_api.rs
  28. nontrivial_type_rs_api_impl.cc
  29. polymorphic.h
  30. polymorphic_rs_api.rs
  31. polymorphic_rs_api_impl.cc
  32. private_members.h
  33. private_members_rs_api.rs
  34. private_members_rs_api_impl.cc
  35. README.md
  36. static_methods.h
  37. static_methods_rs_api.rs
  38. static_methods_rs_api_impl.cc
  39. test.sh
  40. trivial_type.h
  41. trivial_type_rs_api.rs
  42. trivial_type_rs_api_impl.cc
  43. types.h
  44. types_rs_api.rs
  45. types_rs_api_impl.cc
  46. unsupported.h
  47. unsupported_rs_api.rs
  48. unsupported_rs_api_impl.cc
  49. update.sh
  50. user_of_base_class.h
  51. user_of_base_class_rs_api.rs
  52. user_of_base_class_rs_api_impl.cc
  53. user_of_imported_type.h
  54. user_of_imported_type_rs_api.rs
  55. user_of_imported_type_rs_api_impl.cc
  56. user_of_unsupported.h
  57. user_of_unsupported_rs_api.rs
  58. user_of_unsupported_rs_api_impl.cc
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.