https://github.com/lu-zero/autotools-cargo-example
Simple examples on how to wire in rust code built by cargo in an autotools-based project
https://github.com/lu-zero/autotools-cargo-example
Last synced: 3 months ago
JSON representation
Simple examples on how to wire in rust code built by cargo in an autotools-based project
- Host: GitHub
- URL: https://github.com/lu-zero/autotools-cargo-example
- Owner: lu-zero
- License: mit
- Created: 2016-06-18T14:44:10.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-11T06:26:45.000Z (over 8 years ago)
- Last Synced: 2025-01-17T13:17:07.881Z (5 months ago)
- Language: M4
- Size: 2.93 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bridging Autotools with Cargo
This is a quite simple example of hacking [autotools][1] (a guide for it [here][1a]), so it can link
[rust][2] components built using [cargo][3][1]: https://en.wikipedia.org/wiki/GNU_Build_System
[1a]: http://autotools.io
[2]: https://www.rust-lang.org
[3]: http://doc.crates.io/## Why
Cargo works great but is quite rust specific. Autotools is what a good number of projects use.
There is the idea of leveraging the fact rust can generate native object code C-compatible to
replace some (stale) C/C++ codebase with something more maintainable chunk by chunk.