Skip to content

Commit 903f2c2

Browse files
refcellclaude
andcommitted
chore: fix clippy lints, sync MSRV, and bump to v0.1.19
- Update clippy.toml msrv from 1.83 to 1.85 to match Cargo.toml - Mark `platform_suffix` and `Installer::with_dir` as `const fn` - Bump workspace version from 0.1.18 to 0.1.19 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent daa4b14 commit 903f2c2

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resolver = "2"
44

55
[workspace.package]
66
description = "Edge Language Compiler Workspace"
7-
version = "0.1.18"
7+
version = "0.1.19"
88
edition = "2021"
99
rust-version = "1.85"
1010
license = "MIT"

clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
msrv = "1.83"
1+
msrv = "1.85"

crates/edgeup-lib/src/installer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub struct GithubAsset {
3232
/// Return the platform suffix matching the current OS and architecture.
3333
///
3434
/// These correspond to the Rust target triples used in the release workflow.
35-
pub fn platform_suffix() -> &'static str {
35+
pub const fn platform_suffix() -> &'static str {
3636
#[cfg(all(target_os = "linux", target_arch = "x86_64"))]
3737
{
3838
"x86_64-unknown-linux-gnu"
@@ -119,7 +119,7 @@ impl Installer {
119119
/// Create an installer rooted at an arbitrary directory.
120120
///
121121
/// Useful for testing without touching `~/.edgeup`.
122-
pub fn with_dir(install_dir: PathBuf) -> Self {
122+
pub const fn with_dir(install_dir: PathBuf) -> Self {
123123
Self { install_dir }
124124
}
125125

0 commit comments

Comments
 (0)