cxx/.buckconfig

24 lines
687 B
Plaintext
Raw Normal View History

2020-02-10 02:59:12 +00:00
[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
2020-02-10 02:59:12 +00:00
[cxx]
cxxflags = -std=c++11
[rust]
default_edition = required
2020-09-08 05:14:15 +00:00
rustc_flags = \
-Clink-arg=-fuse-ld=lld \
-Crelocation-model=dynamic-no-pic \
--cap-lints=allow
[defaults.rust_library]
type = check