cleanup warnings

This commit is contained in:
Anton-4 2024-10-23 19:36:03 +02:00
parent 78438dfa87
commit 9b7c6c9fe7
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
2 changed files with 2 additions and 2 deletions

View file

@ -28,6 +28,7 @@ mod cli_tests {
#[derive(Debug, Clone, Copy)]
enum UseValgrind {
Yes,
#[allow(dead_code)] // We still want to be able to easily switch to No if needed
No,
}
@ -263,7 +264,7 @@ mod cli_tests {
mod test_platform_simple_zig {
use super::*;
use roc_cli::{CMD_BUILD, CMD_DEV, CMD_RUN, CMD_TEST};
use roc_cli::{CMD_BUILD, CMD_DEV, CMD_TEST};
static BUILD_PLATFORM_HOST: std::sync::Once = std::sync::Once::new();

View file

@ -10,7 +10,6 @@ use object::{
use roc_collections::all::MutMap;
use roc_error_macros::{internal_error, user_error};
use serde::{Deserialize, Serialize};
use std::io::Write;
use std::{
ffi::{c_char, CStr},
io::{BufReader, BufWriter},