Skip to content

Commit

Permalink
Name wrangling c++ caveat in Readme (#511)
Browse files Browse the repository at this point in the history
* Name wrangling c++ caveat in Readme

Try to add a small help for people not super familiar in C++ and name wrangling.

* Update README.md

* Update README.md
  • Loading branch information
Narsil committed Jun 8, 2020
1 parent cc76c3e commit 7859697
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ fn main() {
When using C++ library compilation switch, the `CXX` and `CXXFLAGS` env
variables are used instead of `CC` and `CFLAGS` and the C++ standard library is
linked to the crate target.
Remember that C++ does name mangling so `extern "C"` might be required to enable rust linker to find your functions.

## CUDA C++ support

Expand Down

0 comments on commit 7859697

Please sign in to comment.