Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
build: Prepare release.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Mar 4, 2024
1 parent fe6599a commit 905d206
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.10.1

#### 🚀 Updates

- Added an `install.libc` setting, to customize the libc wording used.

## 0.10.0

#### 💥 Breaking
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "schema_plugin"
version = "0.10.0"
version = "0.10.1"
edition = "2021"
license = "MIT"
publish = false
Expand Down
8 changes: 2 additions & 6 deletions src/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,11 @@ fn interpolate_tokens(

// Avoid detecting musl unless requested
if value.contains("{libc}") {
let libc = HostLibc::detect(env.os);
let libc = env.libc.to_string();

value = value.replace(
"{libc}",
schema
.install
.libc
.get(&libc)
.unwrap_or(&format!("{:?}", &libc).to_lowercase()),
schema.install.libc.get(&env.libc).unwrap_or(&libc),
);
}

Expand Down

0 comments on commit 905d206

Please sign in to comment.