Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/vfox/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub fn arch() -> String {
// NOTE: This logic mirrors is_musl_system() in src/platform.rs. Keep in sync.
#[cfg(target_os = "linux")]
pub(crate) fn env_type() -> Option<String> {
use once_cell::sync::Lazy;
use std::sync::LazyLock as Lazy;
static ENV_TYPE: Lazy<Option<String>> = Lazy::new(|| {
// Allow explicit override via environment variable (only gnu/musl accepted)
if let Ok(val) = std::env::var("MISE_LIBC") {
Expand Down
2 changes: 1 addition & 1 deletion crates/vfox/src/registry.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::collections::BTreeMap;
use std::str::FromStr;

use once_cell::sync::Lazy;
use std::sync::LazyLock as Lazy;
use url::Url;

static SDKS: Lazy<BTreeMap<String, Url>> = Lazy::new(|| {
Expand Down
2 changes: 1 addition & 1 deletion crates/vfox/src/runtime.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::config::{arch, env_type, os};
use mlua::{UserData, UserDataFields};
use once_cell::sync::Lazy;
use std::path::PathBuf;
use std::sync::LazyLock as Lazy;
use std::sync::Mutex;

#[derive(Debug, Clone)]
Expand Down
2 changes: 1 addition & 1 deletion src/task/task_file_providers/remote_task_git.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::Result;
use once_cell::sync::Lazy;
use regex::Regex;
use std::path::PathBuf;
use std::sync::LazyLock as Lazy;

use async_trait::async_trait;

Expand Down
Loading