You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
683 B
24 lines
683 B
[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
|
|
|
|
[defaults.rust_library]
|
|
type = check
|