[go: up one dir, main page]

cxx 0.4.1

Safe interop between Rust and C++
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[project]
  # We use some symlinks in the source tree, but they get eliminated by `cargo
  # publish` and `cargo vendor` so this allow_symlinks setting should not be
  # required downstream.
  allow_symlinks = allow

  # Hide BUCK files under target/package/ from `buck build ...`. Otherwise:
  #   $ buck build ...
  #   //target/package/cxx-0.3.0/tests:ffi references non-existing file or directory 'target/package/cxx-0.3.0/tests/ffi/lib.rs'
  ignore = target

[cxx]
  cxxflags = -std=c++11

[rust]
  default_edition = 2018
  rustc_flags = -Crelocation-model=dynamic-no-pic --cap-lints=allow