move imports

This commit is contained in:
Folkert 2022-12-30 01:43:31 +01:00
parent 407fef0602
commit 9198f2fd1b
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C

View File

@ -2,9 +2,6 @@
use indoc::indoc; use indoc::indoc;
use cli_utils::helpers::{extract_valgrind_errors, ValgrindError, ValgrindErrorXWhat};
use roc_cli::build::BuiltFile;
fn valgrind_test(source: &str) { fn valgrind_test(source: &str) {
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
{ {
@ -19,6 +16,9 @@ fn valgrind_test(source: &str) {
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
fn valgrind_test_linux(source: &str) { fn valgrind_test_linux(source: &str) {
use cli_utils::helpers::{extract_valgrind_errors, ValgrindError, ValgrindErrorXWhat};
use roc_cli::build::BuiltFile;
let pf = std::env::current_dir() let pf = std::env::current_dir()
.unwrap() .unwrap()
.join("zig-platform/main.roc"); .join("zig-platform/main.roc");