From 684ec4a1f55fdb59c5b0135c0e7dbf0b9112db24 Mon Sep 17 00:00:00 2001 From: Red Bear OS Date: Fri, 10 Jul 2026 15:12:00 +0300 Subject: [PATCH] relibc: remove duplicate [fn] section in sys_statfs/cbindgen.toml cbindgen 0.29.x rejects duplicate TOML sections when the header-specific cbindgen.toml is concatenated with cbindgen.globdefs.toml (which already defines [fn]). The [fn] prefix = "" in sys_statfs was redundant (it's the default), so removing it fixes the duplicate key error. --- src/header/sys_statfs/cbindgen.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/header/sys_statfs/cbindgen.toml b/src/header/sys_statfs/cbindgen.toml index 0832e99cab..e24ac7dcbd 100644 --- a/src/header/sys_statfs/cbindgen.toml +++ b/src/header/sys_statfs/cbindgen.toml @@ -6,6 +6,3 @@ usize_is_size_t = true [export] include = ["statfs"] - -[fn] -prefix = ""