tree: 0c55f4bd18160915b9bed5aa87ff92ac28123a36 [path history] [tgz]
  1. internal/
  2. BUILD
  3. cpp_waker.cc
  4. cpp_waker.h
  5. dyn_future.rs
  6. README.md
  7. rs_char.h
  8. rs_char_test.cc
  9. slice_ref.h
  10. slice_ref_test.cc
  11. str_ref.h
  12. str_ref_test.cc
support/rs_std/README.md

Crubit rs_std library

This directory contains the rs_std C++ library that provides the following APIs:

  • Manually authored APIs that help work with Rust builtin types. For example, rs_std::rs_char represents Rust's char type (a separate type from C++'s char32_t is needed to detect certain invalid bit patterns that result in Undefined Behavior in Rust; additionally char32_t takes at least 32 bits, rather than exactly 32 bits).
  • (Not yet implemented) Automatically generated C++ bindings for Rust standard library.