[PR #20] [MERGED] feat(libcorn): libcorn Lua library export #29

Closed
opened 2026-05-22 22:05:14 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/corn-config/corn/pull/20
Author: @A-Cloud-Ninja
Created: 7/30/2023
Status: Merged
Merged: 8/3/2023
Merged by: @JakeStanger

Base: masterHead: master


📝 Commits (2)

  • 848f706 feat(libcorn): lua support via library export
  • 8ad9573 ci(build): restructure, add lua jobs

📊 Changes

6 files changed (+296 additions, -48 deletions)

View changed files

📝 .github/workflows/build.yml (+121 -47)
📝 Cargo.lock (+106 -0)
📝 README.md (+28 -1)
📝 libcorn/Cargo.toml (+7 -0)
📝 libcorn/src/lib.rs (+10 -0)
libcorn/src/lua.rs (+24 -0)

📄 Description

Introduces the structure for a Lua process to load libcorn.so

Currently when this compiles, it creates a liblibcorn.so which has to be renamed during use from a pure Lua perspective, to libcorn.so (this is an issue with how Lua looks for and loads libraries, rather than a rust problem directly)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/corn-config/corn/pull/20 **Author:** [@A-Cloud-Ninja](https://github.com/A-Cloud-Ninja) **Created:** 7/30/2023 **Status:** ✅ Merged **Merged:** 8/3/2023 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`848f706`](https://github.com/corn-config/corn/commit/848f70655a9a6ca6513e7d6e6dead1033ff1d7f6) feat(libcorn): lua support via library export - [`8ad9573`](https://github.com/corn-config/corn/commit/8ad9573613f8c0fc6407e7a10c1d5513391c5f2f) ci(build): restructure, add lua jobs ### 📊 Changes **6 files changed** (+296 additions, -48 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build.yml` (+121 -47) 📝 `Cargo.lock` (+106 -0) 📝 `README.md` (+28 -1) 📝 `libcorn/Cargo.toml` (+7 -0) 📝 `libcorn/src/lib.rs` (+10 -0) ➕ `libcorn/src/lua.rs` (+24 -0) </details> ### 📄 Description Introduces the structure for a Lua process to load libcorn.so Currently when this compiles, it creates a `liblibcorn.so` which has to be renamed during use from a pure Lua perspective, to `libcorn.so` (this is an issue with how Lua looks for and loads libraries, rather than a rust problem directly) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-22 22:05:14 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
corn-config/corn#29
No description provided.