|
Revision tags: 0.2.174, 0.2.173, 0.2.172, ctest-v0.4.11, ctest-v0.4.10, 0.2.171 |
|
| #
7472faa6 |
| 07-Mar-2025 |
Sean Cross <[email protected]> |
xous: include prelude to define c_int
With the latest changes, libstd no longer builds:
``` Compiling libc v0.2.170 (/opt/Xous/libc) error[E0412]: cannot find type `c_int` in this scope --> /o
xous: include prelude to define c_int
With the latest changes, libstd no longer builds:
``` Compiling libc v0.2.170 (/opt/Xous/libc) error[E0412]: cannot find type `c_int` in this scope --> /opt/Xous/libc/src/xous.rs:17:20 | 17 | pub const INT_MIN: c_int = -2147483648; | ^^^^^ not found in this scope | help: consider importing one of these type aliases | 5 + use crate::c_int; | 5 + use rustc_std_workspace_core::ffi::c_int; |
error[E0412]: cannot find type `c_int` in this scope --> /opt/Xous/libc/src/xous.rs:18:20 | 18 | pub const INT_MAX: c_int = 2147483647; | ^^^^^ not found in this scope | help: consider importing one of these type aliases | 5 + use crate::c_int; | 5 + use rustc_std_workspace_core::ffi::c_int; |
For more information about this error, try `rustc --explain E0412`. error: could not compile `libc` (lib) due to 2 previous errors ```
Include the prelude to define `c_int` and fix the build on rust `main`.
Signed-off-by: Sean Cross <[email protected]>
(backport <https://github.com/rust-lang/libc/pull/4304>) (cherry picked from commit fd66a07318b5aa055a552ca6572f41ca23994d6b)
show more ...
|
|
Revision tags: 0.2.170 |
|
| #
e2f92909 |
| 04-Feb-2025 |
Aphek <[email protected]> |
Copy definitions from core::ffi and centralize them
(backport <https://github.com/rust-lang/libc/pull/4256>) (cherry picked from commit 95446f458e472511d65e560224c1b85570e50944)
[ include the neces
Copy definitions from core::ffi and centralize them
(backport <https://github.com/rust-lang/libc/pull/4256>) (cherry picked from commit 95446f458e472511d65e560224c1b85570e50944)
[ include the necessary changes for psp, which isn't part of the original commit since the target is not present on main - Trevor ]
show more ...
|
|
Revision tags: 0.2.169 |
|
| #
8448147a |
| 18-Dec-2024 |
Taiki Endo <[email protected]> |
Define c_char at top-level and remove per-target c_char definitions
(backport <https://github.com/rust-lang/libc/pull/4202>) (cherry picked from commit 0a02b941cf105dc4d4c5b5bd1ddc7bb546ad89c9)
|
|
Revision tags: 0.2.168, ctest-v0.4.9, 0.2.167, 0.2.166, 0.2.165, 0.2.164, 0.2.163, 0.2.162, 0.2.161, 0.2.160, 0.2.159, 0.2.158, 0.2.157, 0.2.156, 0.2.155, 0.2.154, ctest-v0.4.8, 0.2.153, 0.2.152, 0.2.151, 0.2.150, 0.2.149, 0.2.148, 0.2.147, ctest-v0.4.7, 0.2.146, 0.2.145, 0.2.144, 0.2.143, ctest-v0.4.6, 0.2.142, 0.2.141, 0.2.140, 0.2.139, 0.2.138, ctest-v0.4.5, 0.2.137, 0.2.136, 0.2.135, 0.2.134, 0.2.133, 0.2.132, 0.2.131, 0.2.130, 0.2.129, 0.1.128, 0.2.128, 0.2.127 |
|
| #
e2218872 |
| 12-Jul-2022 |
Josh Triplett <[email protected]> |
Require rust >= 1.30 and drop libc_core_cvoid conditional
Move the `c_void` re-export to the top-level `lib.rs`.
|
| #
be1d79de |
| 22-Jan-2023 |
Sean Cross <[email protected]> |
xous: add initial C definitions
This adds initial C definitions to Xous. There is no C library, so this mostly serves to add C-compatible exports to the `libc` crate.
Signed-off-by: Sean Cross <sea
xous: add initial C definitions
This adds initial C definitions to Xous. There is no C library, so this mostly serves to add C-compatible exports to the `libc` crate.
Signed-off-by: Sean Cross <[email protected]>
show more ...
|