diff --git a/compiler/.cargo/config.toml b/compiler/.cargo/config.toml new file mode 100644 index 0000000000000..23743d83c1726 --- /dev/null +++ b/compiler/.cargo/config.toml @@ -0,0 +1,8 @@ +# This file should be kept in sync with the project's Buck flags. +# See parent PACKAGE. + +[build] +rustflags = [ + "-Drust-2018-idioms", + "-Dwarnings", +] diff --git a/compiler/crates/fixture-tests/src/lib.rs b/compiler/crates/fixture-tests/src/lib.rs index 3a3d9cbfa0b69..f04fe5a47d510 100644 --- a/compiler/crates/fixture-tests/src/lib.rs +++ b/compiler/crates/fixture-tests/src/lib.rs @@ -47,8 +47,6 @@ //! *FB-internal: see `scripts/generate_fixture_tests.sh` to generate all.* // //! *FB-internal: use buck run //relay/oss/crates/fixture-tests:fixture-tests-bin -- -//! *FB-internal: if you don't want to use cargo run. This is useful for development on a dev-server or -//! *FB-internal: or machines w/o cargo installed. mod print_diff;