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
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
fail-fast: false
matrix:
include:
# - os: ubuntu-latest
# target: x86_64-unknown-linux-gnu
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
# - os: windows-latest
# target: x86_64-pc-windows-msvc
- os: blaze/macos-latest
Expand All @@ -54,8 +54,6 @@ jobs:
with:
save-if: ${{ github.ref_name == 'main' }}
shared-key: ${{ matrix.os }}-${{ matrix.target }}
- run: rustup target add x86_64-unknown-linux-musl
if: matrix.os == 'ubuntu-latest'
- run: cargo check --all-targets --all-features
- run: cargo test

Expand Down
1 change: 1 addition & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[default.extend-words]
ratatui = "ratatui"
PUNICODE = "PUNICODE"
6 changes: 3 additions & 3 deletions crates/fspy_preload_windows/src/windows/detours/nt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use winapi::{
minwindef::{BOOL, DWORD, HFILE, MAX_PATH, UINT},
ntdef::{
BOOLEAN, HANDLE, LPCSTR, LPCWSTR, NTSTATUS, PHANDLE, PLARGE_INTEGER,
POBJECT_ATTRIBUTES, PUNYCODE_STRING, PVOID, ULONG, UNICODE_STRING,
POBJECT_ATTRIBUTES, PUNICODE_STRING, PVOID, ULONG, UNICODE_STRING,
},
},
um::winnt::{ACCESS_MASK, GENERIC_READ},
Expand Down Expand Up @@ -307,7 +307,7 @@ static DETOUR_NT_QUERY_DIRECTORY_FILE: Detour<
length: ULONG,
file_information_class: FILE_INFORMATION_CLASS,
return_single_entry: BOOLEAN,
file_name: PUNYCODE_STRING,
file_name: PUNICODE_STRING,
restart_scan: BOOLEAN,
) -> NTSTATUS,
> = unsafe {
Expand All @@ -322,7 +322,7 @@ static DETOUR_NT_QUERY_DIRECTORY_FILE: Detour<
length: ULONG,
file_information_class: FILE_INFORMATION_CLASS,
return_single_entry: BOOLEAN,
file_name: PUNYCODE_STRING,
file_name: PUNICODE_STRING,
restart_scan: BOOLEAN,
) -> NTSTATUS {
unsafe { handle_open(AccessMode::ReadDir, file_handle) };
Expand Down
2 changes: 2 additions & 0 deletions crates/vite_error/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pub enum Error {
#[error(transparent)]
JoinPathsError(#[from] std::env::JoinPathsError),

#[cfg(unix)]
#[error(transparent)]
NixError(#[from] nix::Error),

Expand All @@ -37,6 +38,7 @@ pub enum Error {
#[error("Env value is not valid unicode: {key} = {value:?}")]
EnvValueIsNotValidUnicode { key: String, value: OsString },

#[cfg(unix)]
#[error("Unsupported file type: {0:?}")]
UnsupportedFileType(nix::dir::Type),

Expand Down
26 changes: 0 additions & 26 deletions fspy/mise.toml

This file was deleted.

5 changes: 5 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[settings]
idiomatic_version_file_enable_tools = []

[tools]
node = "22.18.0"
Loading