1 //! Tests for edition setting.
3 use cargo_test_support
::{basic_lib_manifest, project}
;
6 fn edition_works_for_build_script() {
20 .file("src/lib.rs", "")
29 .file("a/Cargo.toml", &basic_lib_manifest("a"))
30 .file("a/src/lib.rs", "pub fn foo() {}")
33 p
.cargo("build -v").run();