Родитель
3734f2ac9f
Коммит
4bcedcfe46
|
@ -15,6 +15,7 @@ test/golang/schema-from-schema.json
|
|||
test/elm/elm-stuff/
|
||||
test/elm/elm.js
|
||||
test/elm/QuickType.elm
|
||||
test/fixtures/rust/target
|
||||
|
||||
*.log
|
||||
/test/elm/libsysconfcpus/
|
||||
|
|
|
@ -11,4 +11,8 @@ doc = false
|
|||
[dependencies]
|
||||
serde_json = "1.0"
|
||||
serde = "1.0"
|
||||
serde_derive = "1.0"
|
||||
serde_derive = "1.0"
|
||||
|
||||
# The development profile, used for `cargo build`
|
||||
[profile.dev]
|
||||
codegen-units = 1 # Controls whether the compiler passes `-C codegen-units`
|
|
@ -73,9 +73,10 @@ export const JavaLanguage: Language = {
|
|||
export const RustLanguage: Language = {
|
||||
name: "rust",
|
||||
base: "test/fixtures/rust",
|
||||
compileCommand: "cargo build",
|
||||
setupCommand: "cargo build || true",
|
||||
compileCommand: "cargo build --jobs 1",
|
||||
runCommand(sample: string) {
|
||||
return `./target/debug/quick_type_test "${sample}"`;
|
||||
return `RUST_THREADS=1 ./target/debug/quick_type_test "${sample}"`;
|
||||
},
|
||||
// FIXME: implement comparing multiple files
|
||||
diffViaSchema: false,
|
||||
|
|
Загрузка…
Ссылка в новой задаче