• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[project]
2  # We use some symlinks in the source tree, but they get eliminated by `cargo
3  # publish` and `cargo vendor` so this allow_symlinks setting should not be
4  # required downstream.
5  allow_symlinks = allow
6
7  # Hide BUCK files under target/package/ from `buck build ...`. Otherwise:
8  #   $ buck build ...
9  #   //target/package/cxx-0.3.0/tests:ffi references non-existing file or directory 'target/package/cxx-0.3.0/tests/ffi/lib.rs'
10  ignore = target
11
12[cxx]
13  cxxflags = -std=c++11
14
15[rust]
16  default_edition = 2018
17  rustc_flags = \
18      -Clink-arg=-fuse-ld=lld \
19      -Crelocation-model=dynamic-no-pic \
20      --cap-lints=allow
21
22[defaults.rust_library]
23  type = check
24