Skip to content

Commit

Permalink
Auto merge of rust-lang#815 - roblabla:patch-1, r=emilio
Browse files Browse the repository at this point in the history
Document -x c++, not -x=c++

When using -x=c++ in bindgen arguments, we hit rust-lang#340. We should use -x c++ instead.
  • Loading branch information
bors-servo authored Jul 17, 2017
2 parents 767ac02 + d586a2c commit 75c5875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ of them in a type it is generating bindings for:
* SFINAE

When passing in header files, the file will automatically be treated as C++ if
it ends in `.hpp`. If it doesn't, adding `-x=c++` clang args can be used to
it ends in `.hpp`. If it doesn't, adding `-x c++` clang args can be used to
force C++ mode. You probably also want to use `-std=c++14` or similar clang args
as well.

Expand Down

0 comments on commit 75c5875

Please sign in to comment.