Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a tiny Makefile that defers to `cargo capi install`. Previously rustls-ffi offered a GNU `Makefile` for building the library on Linux/MacOS. Because of the inherent limitations of this build system and a desire to have uniformity across all supported operating systems we've replaced this with usage of `cargo-c`. While the README documents the finer details of using `cargo-c` it's likely some users just want to keep doing what they were doing before: running `make install` with a custom `DESTDIR`. This commit provides a shortcut to do just that, backed by `cargo-c`. I have explicitly not restored the ability to: * build/run the client/server tests: this is handled by `cmake` now. * handle developer tasks like formatting/linting. Also handled by `cmake` now. * customize the build (e.g. debug build, alt crypto providers, fips mode, etc). use cargo-c directly for this per the README instructions.
- Loading branch information