Commit d234dc9
authored
This appears to fix the linux cgo build of baml-cli for me inside a docker container (#1921)
I was able to mount the docker image and fuck with the file until it
built.
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Fix Linux cgo build issue for `baml-cli` by updating C function
declarations in `runtime.go`.
>
> - **Build Fix**:
> - Add `#include <stdint.h>` in `runtime.go` to ensure proper type
definitions for `uint32_t` and `int8_t`.
> - Modify `trigger_callback` and `error_callback` function declarations
to include parameter names for clarity.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
for 32d0860. You can
[customize](https://app.ellipsis.dev/BoundaryML/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->1 parent 45c3c28 commit d234dc9
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | | - | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments