pcwalton / cxx-async

Simple interoperability between C++ coroutines and asynchronous Rust
Apache License 2.0
236 stars 15 forks source link

Add docs for examples/folly #14

Open Xuanwo opened 6 days ago

Xuanwo commented 6 days ago

@devillove084 spent a lot of time getting folly to work in CI. Would you like to add this to the documentation so our users can use folly on their own?

Xuanwo commented 6 days ago

As far as I know, the docs in README is out-of-date:

You will need a C++ compiler that implements the coroutines TS, which generally coincides with support for C++20. Some C++ compilers (e.g. Apple clang 13.0.0) that implement the coroutines TS crash when compiling Folly. It's also recommended to use libc++ instead of libstdc++, as the former has more complete support for coroutines.