cxx/.buckconfig
2020-09-07 22:17:56 -07:00

21 lines
643 B
Plaintext

[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 = \
-Clink-arg=-fuse-ld=lld \
-Crelocation-model=dynamic-no-pic \
--cap-lints=allow