mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-07-20 18:35:48 +00:00
Replace deprecated compiletest::default_config()
This commit is contained in:
@@ -13,7 +13,7 @@ extern crate compiletest_rs as compiletest;
|
|||||||
use std::env;
|
use std::env;
|
||||||
|
|
||||||
fn run_mode(mode: &'static str) {
|
fn run_mode(mode: &'static str) {
|
||||||
let mut config = compiletest::default_config();
|
let mut config = compiletest::Config::default();
|
||||||
|
|
||||||
config.mode = mode.parse().expect("invalid mode");
|
config.mode = mode.parse().expect("invalid mode");
|
||||||
config.target_rustcflags = Some("-L deps/target/debug/deps".to_owned());
|
config.target_rustcflags = Some("-L deps/target/debug/deps".to_owned());
|
||||||
|
|||||||
Reference in New Issue
Block a user