25 Commits
Author SHA1 Message Date
Robin Krahl 4b2b82c4f3 Fix code generation with multiversion feature and release v0.3.1
During rebasing of https://github.com/trussed-dev/littlefs2-sys/pull/19,
the line that enables the LFS_MULTIVERSION feature flag not only for the
compilation but also for the code generation somehow got lost.  This
patch updates the build script and prepares the bugfix release v0.3.1.
0.3.1
2025-02-26 16:07:05 +01:00
Robin Krahl ed32886802 Release v0.3.0 0.3.0 2025-02-26 11:50:15 +01:00
Sosthène GuédonandRobin Krahl 06b0da3ed6 Bump littlefs version
This patch:

- Bumps the littlefs version to the latest released (v2.9.3)
- Adds a "multiversion" feature flag that exposes the littlefs feature
of the same name
- Patch lfs.h before building to avoid errors from clang failing to find
the string.h header (this step is not required for the compilation
because compilation is done through gcc by default)
2025-02-26 11:39:16 +01:00
liebmanandRobin Krahl aa64d080e8 don't set clang target as its already handled in bindgen by default 2024-09-18 12:13:23 +02:00
Robin Krahl cd3a80d8d9 Add CI workflow 2024-09-18 12:09:41 +02:00
Robin Krahl c12b0dc8b5 Release v0.2.0 0.2.0 2024-05-28 11:06:56 +02:00
Robin Krahl 17df422c4b Use core::ffi::* instead of cty::*
Since Rust 1.64.0, the C-compatible typedefs are also available in core
so we no longer need the cty dependency.
2024-05-28 10:28:03 +02:00
Sosthène GuédonandRobin Krahl 39626c0dbc Update changelog 2024-04-04 10:56:38 +02:00
Sosthène GuédonandRobin Krahl db0cf4529f Make use of intrinsics a feature-flag 2024-04-04 10:56:38 +02:00
liebmanandRobin Krahl 76365b754c update changelog 2024-04-03 14:05:27 +02:00
liebmanandRobin Krahl 42b7997d53 filter synbols to only include lfs_ and LFS_ prefixes 2024-04-03 14:05:27 +02:00
liebmanandRobin Krahl fb14ef5a18 upgrate bindgen to 0.69.4 2024-04-03 14:05:27 +02:00
Simon LucidoandRobin Krahl 0dab5d9c0d Malloc feature flag
Some user of the crate might want to let the C implementation call
malloc on its own.

Signed-off-by: Simon Lucido <simonl@rivosinc.com>
Signed-off-by: Simon LUCIDO <simon.lucido@etu.umontpellier.fr>
2023-11-06 16:13:58 +01:00
Robin KrahlandNicolas Stalder 8c786d1c51 Release v0.1.7 0.1.7 2023-01-30 23:34:04 +01:00
Sosthène GuédonandRobin Krahl a2cc6720e2 Add runtime feature to bindgen dependency 2023-01-25 10:11:36 +01:00
Nicolas Stalder adbf4dd470 Bump bindgen, new release 0.1.6 2021-01-06 12:24:02 +01:00
Nicolas Stalder da42d4ea10 Avoid activating log/std via bindgen 2021-01-06 12:22:39 +01:00
Nicolas Stalder 711b3067da Fail directly if TARGET were missing 2021-01-06 12:19:35 +01:00
Conor PatrickandNicolas Stalder 528616927a add target arg for clang 2021-01-06 12:14:49 +01:00
Nicolas Stalder 97a24b2211 Bump upstream to v2.2.1 (fixes GCC warnings) 0.1.5 2020-04-12 00:24:12 +02:00
Nicolas Stalder fe69dea8d8 Bump upstream to v2.2.0 0.1.4 2020-04-01 22:19:13 +02:00
Nicolas Stalder 8cc48acd11 Bump bindgen 0.1.3 2020-02-08 16:02:45 +01:00
Nicolas Stalder 3d5c179a5b Fix typos, reference bindings, bump patch version. 2019-12-13 23:20:43 +01:00
Nicolas Stalder 415e54b726 assertions and trace feature flags 2019-12-12 02:19:35 +01:00
Nicolas Stalder 55d36f29b1 Expose v2.1.4 2019-12-08 03:36:55 +01:00