Age | Commit message (Collapse) | Author |
|
- By explicitly printing to stderr, we can avoid the test's output
from being captured by Rust's test framework.
|
|
- Fixes linking tests and examples with ld --as-needed.
|
|
- Use the anyhow crate instead of failure to implement the dynamic
side of our error handling. anyhow::Error derefs to dyn
std::error::Error, allowing better interoperability with other
stdlib-based error handling libraries.
- Fixes #444.
|
|
|
|
|
|
|
|
- Use failure, improve error message when invoking make fails.
|
|
|
|
- To preserve location information, replace the include.
|
|
- Use `extern "C"` instead of `extern "system"`. The latter selects
stdcall, which is only appropriate for talking to the Windows API.
|
|
|
|
- To make the tests and examples more portable, provide our own
roughly compatible replacement for glibc's error(3).
|
|
- The previous solution of using libc::futimes turned out to be not
portable because different platforms have differently sized
timestamps. Use a crate for that instead.
- Also, bring ffi's c-tests up-to-speed.
- Fixes #225.
|
|
- Use the line number instead of a hash. This makes it simpler, but
also easier to locate the test in the source file.
|
|
- Fixes tests not being found because the functions signature were
formatted differently. In the end, only proper parsing will help
here.
|
|
- This creates a new crate, 'sequoia-openpgp-ffi', and moves a
handful of functions from 'sequoia-ffi' to it.
- The 'sequoia-ffi' crate is a superset of the 'sequoia-openpgp-ffi'
crate. This is accomplished by some include! magic.
- My first attempt involved having 'sequoia-ffi' depend on
'sequoia-openpgp-ffi', so that the former just re-exports the
symbols. However, that turned out to be unreliable, and might be
not what we want, because it could also duplicate parts of Rust's
standard library.
- Fixes #144.
|