Skip to content

Commit 9473135

Browse files
committed
Fix: Drop clap.Host heap workaround to fix compilation.
1 parent 5827335 commit 9473135

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
### Fixed
10+
* Dropped `clap.Host` heap workaround to fix compilation.
11+
812
## [0.1.3] - 2024-03-29
913
### Fixed
1014
* Explicitly cast plugin feature strings to prevent warnings.

host.c.v

+2-7
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,5 @@ pub:
2727
request_callback fn (host &Host)
2828
}
2929

30-
// XXX: Workaround because:
31-
// pub type Host = C.clap_host_t
32-
// doesn't pass the @[heap] flag.
33-
@[heap]
34-
pub struct Host {
35-
C.clap_host_t
36-
}
30+
pub type Host = C.clap_host_t
31+

0 commit comments

Comments
 (0)