Debian Codegraph @

libgrust/ChangeLog

raw
1 2026-06-12 Release Manager
2
3 * GCC 15.3.0 released.
4
5 2025-08-08 Release Manager
6
7 * GCC 15.2.0 released.
8
9 2025-04-25 Release Manager
10
11 * GCC 15.1.0 released.
12
13 2025-03-31 Arthur Cohen <[email protected]>
14
15 * libformat_parser/Makefile.am: Avoid using --config as it is unsupported by cargo 1.49.
16 * libformat_parser/Makefile.in: Regenerate.
17 * libformat_parser/generic_format_parser/src/lib.rs: Use extension trait for missing
18 features.
19 * libformat_parser/src/lib.rs: Likewise.
20 * libformat_parser/.cargo/config: Moved to...
21 * libformat_parser/.cargo/config.toml: ...here.
22
23 2025-03-17 badumbatish <[email protected]>
24
25 * libformat_parser/generic_format_parser/src/lib.rs:
26 Remove repr(C)
27 * libformat_parser/src/bin.rs: Use ffi
28 * libformat_parser/src/lib.rs: pub ffi, create ParseMode and match
29 rustc's parse mode
30
31 2025-03-17 badumbatish <[email protected]>
32
33 * libformat_parser/generic_format_parser/src/lib.rs: Likewise.
34 * libformat_parser/src/bin.rs: Likewise.
35 * libformat_parser/src/lib.rs: Likewise.
36
37 2025-03-17 Kushal Pal <[email protected]>
38
39 * libformat_parser/Cargo.toml:
40 Used crate-type instead of depricated crate_type.
41 * libformat_parser/generic_format_parser/src/lib.rs:
42 Remove dead code.
43 * libformat_parser/src/lib.rs: Likewise.
44
45 2024-12-09 Arthur Cohen <[email protected]>
46
47 * libformat_parser/Cargo.toml: Change Rust edition from 2021 to 2018.
48 * libformat_parser/generic_format_parser/Cargo.toml: Likewise.
49 * libformat_parser/generic_format_parser/src/lib.rs: Remove usage of
50 then-unstable std features and language constructs.
51 * libformat_parser/src/lib.rs: Likewise, plus provide extension trait
52 for String::leak.
53
54 2024-12-09 Thomas Schwinge <[email protected]>
55
56 * libformat_parser/src/lib.rs: Work around 'error[E0599]:
57 no method named `leak` found for struct `std::string::String` in the current scope'.
58
59 2024-12-09 Thomas Schwinge <[email protected]>
60
61 * libformat_parser/generic_format_parser/src/lib.rs: Work around
62 'error[E0658]: `let...else` statements are unstable'.
63
64 2024-08-01 Arthur Cohen <[email protected]>
65
66 * libformat_parser/src/lib.rs: Use new Handle struct and expose it.
67
68 2024-08-01 Arthur Cohen <[email protected]>
69
70 * libformat_parser/src/lib.rs: Switch interface to use more parser
71 parameters.
72 * libformat_parser/src/bin.rs: Use new interface.
73
74 2024-08-01 Arthur Cohen <[email protected]>
75
76 * libformat_parser/generic_format_parser/src/lib.rs: Add IsSomeAnd<T>
77 trait, impl it for Option<T>.
78
79 2024-08-01 Arthur Cohen <[email protected]>
80
81 * libformat_parser/generic_format_parser/src/lib.rs: Remove
82 unused deprecated attribute and unused import.
83 * libformat_parser/src/lib.rs: Remove unused import.
84
85 2024-08-01 Arthur Cohen <[email protected]>
86
87 * libformat_parser/src/lib.rs: Add debug prompt.
88
89 2024-08-01 Arthur Cohen <[email protected]>
90
91 * libformat_parser/src/lib.rs: Leak Boxes properly for C++ to
92 see them, add memory release function.
93
94 2024-08-01 Arthur Cohen <[email protected]>
95
96 * libformat_parser/src/lib.rs: Add IntoFFI trait.
97 * libformat_parser/libformat-parser.h: Removed.
98
99 2024-08-01 Arthur Cohen <[email protected]>
100
101 * libformat_parser/cbindgen.toml: New file.
102 * libformat_parser/libformat-parser.h: New file.
103
104 2024-08-01 Arthur Cohen <[email protected]>
105
106 * libformat_parser/generic_format_parser/src/lib.rs: Add generic
107 library.
108 * libformat_parser/src/lib.rs: Add base for FFI interface.
109
110 2024-08-01 Thomas Schwinge <[email protected]>
111
112 * libformat_parser/Makefile.am: New.
113 * Makefile.am [!TARGET_LIBRARY] (SUBDIRS): Add 'libformat_parser'.
114 * configure.ac: Handle it.
115 (TARGET_LIBRARY): New 'AM_CONDITIONAL'.
116 * libformat_parser/Makefile.in: Generate.
117 * Makefile.in: Regenerate.
118 * configure: Likewise.
119
120 2024-08-01 Arthur Cohen <[email protected]>
121
122 * libformat_parser/.cargo/config: New file.
123 * libformat_parser/vendor.NOTES: New file.
124 * libformat_parser/vendor/libc/.cargo-checksum.json: New file.
125 * libformat_parser/vendor/libc/CONTRIBUTING.md: New file.
126 * libformat_parser/vendor/libc/Cargo.toml: New file.
127 * libformat_parser/vendor/libc/LICENSE-APACHE: New file.
128 * libformat_parser/vendor/libc/LICENSE-MIT: New file.
129 * libformat_parser/vendor/libc/README.md: New file.
130 * libformat_parser/vendor/libc/build.rs: New file.
131 * libformat_parser/vendor/libc/rustfmt.toml: New file.
132 * libformat_parser/vendor/libc/src/fixed_width_ints.rs: New file.
133 * libformat_parser/vendor/libc/src/fuchsia/aarch64.rs: New file.
134 * libformat_parser/vendor/libc/src/fuchsia/align.rs: New file.
135 * libformat_parser/vendor/libc/src/fuchsia/mod.rs: New file.
136 * libformat_parser/vendor/libc/src/fuchsia/no_align.rs: New file.
137 * libformat_parser/vendor/libc/src/fuchsia/riscv64.rs: New file.
138 * libformat_parser/vendor/libc/src/fuchsia/x86_64.rs: New file.
139 * libformat_parser/vendor/libc/src/hermit/aarch64.rs: New file.
140 * libformat_parser/vendor/libc/src/hermit/mod.rs: New file.
141 * libformat_parser/vendor/libc/src/hermit/x86_64.rs: New file.
142 * libformat_parser/vendor/libc/src/lib.rs: New file.
143 * libformat_parser/vendor/libc/src/macros.rs: New file.
144 * libformat_parser/vendor/libc/src/psp.rs: New file.
145 * libformat_parser/vendor/libc/src/sgx.rs: New file.
146 * libformat_parser/vendor/libc/src/solid/aarch64.rs: New file.
147 * libformat_parser/vendor/libc/src/solid/arm.rs: New file.
148 * libformat_parser/vendor/libc/src/solid/mod.rs: New file.
149 * libformat_parser/vendor/libc/src/switch.rs: New file.
150 * libformat_parser/vendor/libc/src/teeos/mod.rs: New file.
151 * libformat_parser/vendor/libc/src/unix/aix/mod.rs: New file.
152 * libformat_parser/vendor/libc/src/unix/aix/powerpc64.rs: New file.
153 * libformat_parser/vendor/libc/src/unix/align.rs: New file.
154 * libformat_parser/vendor/libc/src/unix/bsd/apple/b32/align.rs: New file.
155 * libformat_parser/vendor/libc/src/unix/bsd/apple/b32/mod.rs: New file.
156 * libformat_parser/vendor/libc/src/unix/bsd/apple/b64/aarch64/align.rs: New file.
157 * libformat_parser/vendor/libc/src/unix/bsd/apple/b64/aarch64/mod.rs: New file.
158 * libformat_parser/vendor/libc/src/unix/bsd/apple/b64/align.rs: New file.
159 * libformat_parser/vendor/libc/src/unix/bsd/apple/b64/mod.rs: New file.
160 * libformat_parser/vendor/libc/src/unix/bsd/apple/b64/x86_64/align.rs: New file.
161 * libformat_parser/vendor/libc/src/unix/bsd/apple/b64/x86_64/mod.rs: New file.
162 * libformat_parser/vendor/libc/src/unix/bsd/apple/long_array.rs: New file.
163 * libformat_parser/vendor/libc/src/unix/bsd/apple/mod.rs: New file.
164 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/dragonfly/errno.rs: New file.
165 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/dragonfly/mod.rs: New file.
166 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/aarch64.rs: New file.
167 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/arm.rs: New file.
168 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/b64.rs: New file.
169 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/mod.rs: New file.
170 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/b64.rs: New file.
171 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs: New file.
172 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/x86_64.rs:
173 New file.
174 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/b64.rs: New file.
175 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs: New file.
176 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/x86_64.rs:
177 New file.
178 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd14/b64.rs: New file.
179 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs: New file.
180 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd14/x86_64.rs:
181 New file.
182 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd15/b64.rs: New file.
183 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd15/mod.rs: New file.
184 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/freebsd15/x86_64.rs:
185 New file.
186 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/mod.rs: New file.
187 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/powerpc.rs: New file.
188 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/powerpc64.rs: New file.
189 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/riscv64.rs: New file.
190 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/x86.rs: New file.
191 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/x86_64/align.rs: New file.
192 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/freebsd/x86_64/mod.rs: New file.
193 * libformat_parser/vendor/libc/src/unix/bsd/freebsdlike/mod.rs: New file.
194 * libformat_parser/vendor/libc/src/unix/bsd/mod.rs: New file.
195 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/mod.rs: New file.
196 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/netbsd/aarch64.rs: New file.
197 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/netbsd/arm.rs: New file.
198 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/netbsd/mips.rs: New file.
199 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/netbsd/mod.rs: New file.
200 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/netbsd/powerpc.rs: New file.
201 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/netbsd/riscv64.rs: New file.
202 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/netbsd/sparc64.rs: New file.
203 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/netbsd/x86.rs: New file.
204 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/netbsd/x86_64.rs: New file.
205 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/openbsd/aarch64.rs: New file.
206 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/openbsd/arm.rs: New file.
207 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/openbsd/mips64.rs: New file.
208 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/openbsd/mod.rs: New file.
209 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/openbsd/powerpc.rs: New file.
210 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/openbsd/powerpc64.rs: New file.
211 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/openbsd/riscv64.rs: New file.
212 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/openbsd/sparc64.rs: New file.
213 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/openbsd/x86.rs: New file.
214 * libformat_parser/vendor/libc/src/unix/bsd/netbsdlike/openbsd/x86_64.rs: New file.
215 * libformat_parser/vendor/libc/src/unix/haiku/b32.rs: New file.
216 * libformat_parser/vendor/libc/src/unix/haiku/b64.rs: New file.
217 * libformat_parser/vendor/libc/src/unix/haiku/mod.rs: New file.
218 * libformat_parser/vendor/libc/src/unix/haiku/native.rs: New file.
219 * libformat_parser/vendor/libc/src/unix/haiku/x86_64.rs: New file.
220 * libformat_parser/vendor/libc/src/unix/hurd/align.rs: New file.
221 * libformat_parser/vendor/libc/src/unix/hurd/b32.rs: New file.
222 * libformat_parser/vendor/libc/src/unix/hurd/b64.rs: New file.
223 * libformat_parser/vendor/libc/src/unix/hurd/mod.rs: New file.
224 * libformat_parser/vendor/libc/src/unix/hurd/no_align.rs: New file.
225 * libformat_parser/vendor/libc/src/unix/linux_like/android/b32/arm.rs: New file.
226 * libformat_parser/vendor/libc/src/unix/linux_like/android/b32/mod.rs: New file.
227 * libformat_parser/vendor/libc/src/unix/linux_like/android/b32/x86/align.rs: New file.
228 * libformat_parser/vendor/libc/src/unix/linux_like/android/b32/x86/mod.rs: New file.
229 * libformat_parser/vendor/libc/src/unix/linux_like/android/b64/aarch64/align.rs: New file.
230 * libformat_parser/vendor/libc/src/unix/linux_like/android/b64/aarch64/int128.rs: New file.
231 * libformat_parser/vendor/libc/src/unix/linux_like/android/b64/aarch64/mod.rs: New file.
232 * libformat_parser/vendor/libc/src/unix/linux_like/android/b64/mod.rs: New file.
233 * libformat_parser/vendor/libc/src/unix/linux_like/android/b64/riscv64/align.rs: New file.
234 * libformat_parser/vendor/libc/src/unix/linux_like/android/b64/riscv64/mod.rs: New file.
235 * libformat_parser/vendor/libc/src/unix/linux_like/android/b64/x86_64/align.rs: New file.
236 * libformat_parser/vendor/libc/src/unix/linux_like/android/b64/x86_64/mod.rs: New file.
237 * libformat_parser/vendor/libc/src/unix/linux_like/android/mod.rs: New file.
238 * libformat_parser/vendor/libc/src/unix/linux_like/emscripten/align.rs: New file.
239 * libformat_parser/vendor/libc/src/unix/linux_like/emscripten/lfs64.rs: New file.
240 * libformat_parser/vendor/libc/src/unix/linux_like/emscripten/mod.rs: New file.
241 * libformat_parser/vendor/libc/src/unix/linux_like/emscripten/no_align.rs: New file.
242 * libformat_parser/vendor/libc/src/unix/linux_like/linux/align.rs: New file.
243 * libformat_parser/vendor/libc/src/unix/linux_like/linux/arch/generic/mod.rs: New file.
244 * libformat_parser/vendor/libc/src/unix/linux_like/linux/arch/mips/mod.rs: New file.
245 * libformat_parser/vendor/libc/src/unix/linux_like/linux/arch/mod.rs: New file.
246 * libformat_parser/vendor/libc/src/unix/linux_like/linux/arch/powerpc/mod.rs: New file.
247 * libformat_parser/vendor/libc/src/unix/linux_like/linux/arch/sparc/mod.rs: New file.
248 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/align.rs: New file.
249 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/arm/align.rs: New file.
250 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/arm/mod.rs: New file.
251 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/csky/align.rs: New file.
252 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/csky/mod.rs: New file.
253 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/m68k/align.rs: New file.
254 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/m68k/mod.rs: New file.
255 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/mips/align.rs: New file.
256 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/mips/mod.rs: New file.
257 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/mod.rs: New file.
258 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/powerpc.rs: New file.
259 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/riscv32/align.rs: New file.
260 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/riscv32/mod.rs: New file.
261 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/sparc/align.rs: New file.
262 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/sparc/mod.rs: New file.
263 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/x86/align.rs: New file.
264 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b32/x86/mod.rs: New file.
265 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/aarch64/align.rs: New file.
266 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/aarch64/fallback.rs:
267 New file.
268 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/aarch64/ilp32.rs: New file.
269 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/aarch64/int128.rs:
270 New file.
271 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/aarch64/lp64.rs: New file.
272 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/aarch64/mod.rs: New file.
273 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/loongarch64/align.rs:
274 New file.
275 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs:
276 New file.
277 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/mips64/align.rs: New file.
278 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/mips64/mod.rs: New file.
279 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/mod.rs: New file.
280 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/powerpc64/align.rs:
281 New file.
282 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/powerpc64/mod.rs: New file.
283 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/riscv64/align.rs: New file.
284 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/riscv64/mod.rs: New file.
285 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/s390x.rs: New file.
286 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/sparc64/align.rs: New file.
287 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/sparc64/mod.rs: New file.
288 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/x86_64/align.rs: New file.
289 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs: New file.
290 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/x86_64/not_x32.rs:
291 New file.
292 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/b64/x86_64/x32.rs: New file.
293 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/mod.rs: New file.
294 * libformat_parser/vendor/libc/src/unix/linux_like/linux/gnu/no_align.rs: New file.
295 * libformat_parser/vendor/libc/src/unix/linux_like/linux/mod.rs: New file.
296 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b32/arm/align.rs: New file.
297 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b32/arm/mod.rs: New file.
298 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b32/hexagon.rs: New file.
299 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b32/mips/align.rs: New file.
300 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b32/mips/mod.rs: New file.
301 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b32/mod.rs: New file.
302 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b32/powerpc.rs: New file.
303 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b32/riscv32/align.rs:
304 New file.
305 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b32/riscv32/mod.rs: New file.
306 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b32/x86/align.rs: New file.
307 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b32/x86/mod.rs: New file.
308 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b64/aarch64/align.rs:
309 New file.
310 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b64/aarch64/int128.rs:
311 New file.
312 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b64/aarch64/mod.rs: New file.
313 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b64/mips64.rs: New file.
314 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b64/mod.rs: New file.
315 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b64/powerpc64.rs: New file.
316 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b64/riscv64/align.rs:
317 New file.
318 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b64/riscv64/mod.rs: New file.
319 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b64/s390x.rs: New file.
320 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b64/x86_64/align.rs: New file.
321 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/b64/x86_64/mod.rs: New file.
322 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/lfs64.rs: New file.
323 * libformat_parser/vendor/libc/src/unix/linux_like/linux/musl/mod.rs: New file.
324 * libformat_parser/vendor/libc/src/unix/linux_like/linux/no_align.rs: New file.
325 * libformat_parser/vendor/libc/src/unix/linux_like/linux/non_exhaustive.rs: New file.
326 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/align.rs: New file.
327 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/arm/align.rs: New file.
328 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/arm/mod.rs: New file.
329 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/arm/no_align.rs: New file.
330 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/mips/mips32/align.rs:
331 New file.
332 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/mips/mips32/mod.rs:
333 New file.
334 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/mips/mips32/no_align.rs:
335 New file.
336 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/mips/mips64/align.rs:
337 New file.
338 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/mips/mips64/mod.rs:
339 New file.
340 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/mips/mips64/no_align.rs:
341 New file.
342 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/mips/mod.rs: New file.
343 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/mod.rs: New file.
344 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/no_align.rs: New file.
345 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/x86_64/l4re.rs: New file.
346 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/x86_64/mod.rs: New file.
347 * libformat_parser/vendor/libc/src/unix/linux_like/linux/uclibc/x86_64/other.rs: New file.
348 * libformat_parser/vendor/libc/src/unix/linux_like/mod.rs: New file.
349 * libformat_parser/vendor/libc/src/unix/mod.rs: New file.
350 * libformat_parser/vendor/libc/src/unix/newlib/aarch64/mod.rs: New file.
351 * libformat_parser/vendor/libc/src/unix/newlib/align.rs: New file.
352 * libformat_parser/vendor/libc/src/unix/newlib/arm/mod.rs: New file.
353 * libformat_parser/vendor/libc/src/unix/newlib/espidf/mod.rs: New file.
354 * libformat_parser/vendor/libc/src/unix/newlib/generic.rs: New file.
355 * libformat_parser/vendor/libc/src/unix/newlib/horizon/mod.rs: New file.
356 * libformat_parser/vendor/libc/src/unix/newlib/mod.rs: New file.
357 * libformat_parser/vendor/libc/src/unix/newlib/no_align.rs: New file.
358 * libformat_parser/vendor/libc/src/unix/newlib/powerpc/mod.rs: New file.
359 * libformat_parser/vendor/libc/src/unix/newlib/vita/mod.rs: New file.
360 * libformat_parser/vendor/libc/src/unix/no_align.rs: New file.
361 * libformat_parser/vendor/libc/src/unix/nto/aarch64.rs: New file.
362 * libformat_parser/vendor/libc/src/unix/nto/mod.rs: New file.
363 * libformat_parser/vendor/libc/src/unix/nto/neutrino.rs: New file.
364 * libformat_parser/vendor/libc/src/unix/nto/x86_64.rs: New file.
365 * libformat_parser/vendor/libc/src/unix/redox/mod.rs: New file.
366 * libformat_parser/vendor/libc/src/unix/solarish/compat.rs: New file.
367 * libformat_parser/vendor/libc/src/unix/solarish/illumos.rs: New file.
368 * libformat_parser/vendor/libc/src/unix/solarish/mod.rs: New file.
369 * libformat_parser/vendor/libc/src/unix/solarish/solaris.rs: New file.
370 * libformat_parser/vendor/libc/src/unix/solarish/x86.rs: New file.
371 * libformat_parser/vendor/libc/src/unix/solarish/x86_64.rs: New file.
372 * libformat_parser/vendor/libc/src/unix/solarish/x86_common.rs: New file.
373 * libformat_parser/vendor/libc/src/vxworks/aarch64.rs: New file.
374 * libformat_parser/vendor/libc/src/vxworks/arm.rs: New file.
375 * libformat_parser/vendor/libc/src/vxworks/mod.rs: New file.
376 * libformat_parser/vendor/libc/src/vxworks/powerpc.rs: New file.
377 * libformat_parser/vendor/libc/src/vxworks/powerpc64.rs: New file.
378 * libformat_parser/vendor/libc/src/vxworks/x86.rs: New file.
379 * libformat_parser/vendor/libc/src/vxworks/x86_64.rs: New file.
380 * libformat_parser/vendor/libc/src/wasi.rs: New file.
381 * libformat_parser/vendor/libc/src/windows/gnu/align.rs: New file.
382 * libformat_parser/vendor/libc/src/windows/gnu/mod.rs: New file.
383 * libformat_parser/vendor/libc/src/windows/mod.rs: New file.
384 * libformat_parser/vendor/libc/src/windows/msvc/mod.rs: New file.
385 * libformat_parser/vendor/libc/src/xous.rs: New file.
386 * libformat_parser/vendor/libc/tests/const_fn.rs: New file.
387 * libformat_parser/vendor/unicode-xid/.cargo-checksum.json: New file.
388 * libformat_parser/vendor/unicode-xid/COPYRIGHT: New file.
389 * libformat_parser/vendor/unicode-xid/Cargo.toml: New file.
390 * libformat_parser/vendor/unicode-xid/LICENSE-APACHE: New file.
391 * libformat_parser/vendor/unicode-xid/LICENSE-MIT: New file.
392 * libformat_parser/vendor/unicode-xid/README.md: New file.
393 * libformat_parser/vendor/unicode-xid/benches/xid.rs: New file.
394 * libformat_parser/vendor/unicode-xid/src/lib.rs: New file.
395 * libformat_parser/vendor/unicode-xid/src/tables.rs: New file.
396 * libformat_parser/vendor/unicode-xid/src/tests.rs: New file.
397 * libformat_parser/vendor/unicode-xid/tests/exhaustive_tests.rs: New file.
398
399 2024-08-01 Arthur Cohen <[email protected]>
400
401 * libformat_parser/Cargo.lock: New file.
402 * libformat_parser/Cargo.toml: New file.
403 * libformat_parser/generic_format_parser/Cargo.toml: New file.
404 * libformat_parser/generic_format_parser/src/lib.rs: New file.
405 * libformat_parser/src/bin.rs: New file.
406 * libformat_parser/src/lib.rs: New file.
407
408 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
409
410 * libproc_macro_internal/proc_macro.h (enum ProcmacroTag): Add
411 explicit value for proc macro tag enum.
412
413 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
414
415 * libproc_macro/bridge.rs: Add license text.
416 * libproc_macro/bridge/ffistring.rs: Likewise.
417 * libproc_macro/bridge/group.rs: Likewise.
418 * libproc_macro/bridge/ident.rs: Likewise.
419 * libproc_macro/bridge/literal.rs: Likewise.
420 * libproc_macro/bridge/punct.rs: Likewise.
421 * libproc_macro/bridge/span.rs: Likewise.
422 * libproc_macro/bridge/token_stream.rs: Likewise.
423 * libproc_macro/group.rs: Likewise.
424 * libproc_macro/ident.rs: Likewise.
425 * libproc_macro/lib.rs: Likewise.
426 * libproc_macro/literal.rs: Likewise.
427 * libproc_macro/punct.rs: Likewise.
428 * libproc_macro/span.rs: Likewise.
429 * libproc_macro/token_stream.rs: Likewise.
430
431 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
432
433 * libproc_macro_internal/rust/bridge.rs: Moved to...
434 * libproc_macro/bridge.rs: ...here.
435 * libproc_macro_internal/rust/bridge/ffistring.rs: Moved to...
436 * libproc_macro/bridge/ffistring.rs: ...here.
437 * libproc_macro_internal/rust/bridge/group.rs: Moved to...
438 * libproc_macro/bridge/group.rs: ...here.
439 * libproc_macro_internal/rust/bridge/ident.rs: Moved to...
440 * libproc_macro/bridge/ident.rs: ...here.
441 * libproc_macro_internal/rust/bridge/literal.rs: Moved to...
442 * libproc_macro/bridge/literal.rs: ...here.
443 * libproc_macro_internal/rust/bridge/punct.rs: Moved to...
444 * libproc_macro/bridge/punct.rs: ...here.
445 * libproc_macro_internal/rust/bridge/span.rs: Moved to...
446 * libproc_macro/bridge/span.rs: ...here.
447 * libproc_macro_internal/rust/bridge/token_stream.rs: Moved to...
448 * libproc_macro/bridge/token_stream.rs: ...here.
449 * libproc_macro_internal/rust/group.rs: Moved to...
450 * libproc_macro/group.rs: ...here.
451 * libproc_macro_internal/rust/ident.rs: Moved to...
452 * libproc_macro/ident.rs: ...here.
453 * libproc_macro_internal/rust/lib.rs: Moved to...
454 * libproc_macro/lib.rs: ...here.
455 * libproc_macro_internal/rust/literal.rs: Moved to...
456 * libproc_macro/literal.rs: ...here.
457 * libproc_macro_internal/rust/punct.rs: Moved to...
458 * libproc_macro/punct.rs: ...here.
459 * libproc_macro_internal/rust/span.rs: Moved to...
460 * libproc_macro/span.rs: ...here.
461 * libproc_macro_internal/rust/token_stream.rs: Moved to...
462 * libproc_macro/token_stream.rs: ...here.
463
464 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
465
466 * Makefile.am: Change library name.
467 * Makefile.in: Likewise.
468 * configure.ac: Likewise.
469 * configure: Regenerate.
470 * libproc_macro/Makefile.am: Moved to...
471 * libproc_macro_internal/Makefile.am: ...here.
472 * libproc_macro/Makefile.in: Moved to...
473 * libproc_macro_internal/Makefile.in: ...here.
474 * libproc_macro/bridge.h: Moved to...
475 * libproc_macro_internal/bridge.h: ...here.
476 * libproc_macro/ffistring.cc: Moved to...
477 * libproc_macro_internal/ffistring.cc: ...here.
478 * libproc_macro/ffistring.h: Moved to...
479 * libproc_macro_internal/ffistring.h: ...here.
480 * libproc_macro/group.cc: Moved to...
481 * libproc_macro_internal/group.cc: ...here.
482 * libproc_macro/group.h: Moved to...
483 * libproc_macro_internal/group.h: ...here.
484 * libproc_macro/ident.cc: Moved to...
485 * libproc_macro_internal/ident.cc: ...here.
486 * libproc_macro/ident.h: Moved to...
487 * libproc_macro_internal/ident.h: ...here.
488 * libproc_macro/literal.cc: Moved to...
489 * libproc_macro_internal/literal.cc: ...here.
490 * libproc_macro/literal.h: Moved to...
491 * libproc_macro_internal/literal.h: ...here.
492 * libproc_macro/proc_macro.cc: Moved to...
493 * libproc_macro_internal/proc_macro.cc: ...here.
494 * libproc_macro/proc_macro.h: Moved to...
495 * libproc_macro_internal/proc_macro.h: ...here.
496 * libproc_macro/punct.cc: Moved to...
497 * libproc_macro_internal/punct.cc: ...here.
498 * libproc_macro/punct.h: Moved to...
499 * libproc_macro_internal/punct.h: ...here.
500 * libproc_macro/registration.h: Moved to...
501 * libproc_macro_internal/registration.h: ...here.
502 * libproc_macro/rust/bridge.rs: Moved to...
503 * libproc_macro_internal/rust/bridge.rs: ...here.
504 * libproc_macro/rust/bridge/ffistring.rs: Moved to...
505 * libproc_macro_internal/rust/bridge/ffistring.rs: ...here.
506 * libproc_macro/rust/bridge/group.rs: Moved to...
507 * libproc_macro_internal/rust/bridge/group.rs: ...here.
508 * libproc_macro/rust/bridge/ident.rs: Moved to...
509 * libproc_macro_internal/rust/bridge/ident.rs: ...here.
510 * libproc_macro/rust/bridge/literal.rs: Moved to...
511 * libproc_macro_internal/rust/bridge/literal.rs: ...here.
512 * libproc_macro/rust/bridge/punct.rs: Moved to...
513 * libproc_macro_internal/rust/bridge/punct.rs: ...here.
514 * libproc_macro/rust/bridge/span.rs: Moved to...
515 * libproc_macro_internal/rust/bridge/span.rs: ...here.
516 * libproc_macro/rust/bridge/token_stream.rs: Moved to...
517 * libproc_macro_internal/rust/bridge/token_stream.rs: ...here.
518 * libproc_macro/rust/group.rs: Moved to...
519 * libproc_macro_internal/rust/group.rs: ...here.
520 * libproc_macro/rust/ident.rs: Moved to...
521 * libproc_macro_internal/rust/ident.rs: ...here.
522 * libproc_macro/rust/lib.rs: Moved to...
523 * libproc_macro_internal/rust/lib.rs: ...here.
524 * libproc_macro/rust/literal.rs: Moved to...
525 * libproc_macro_internal/rust/literal.rs: ...here.
526 * libproc_macro/rust/punct.rs: Moved to...
527 * libproc_macro_internal/rust/punct.rs: ...here.
528 * libproc_macro/rust/span.rs: Moved to...
529 * libproc_macro_internal/rust/span.rs: ...here.
530 * libproc_macro/rust/token_stream.rs: Moved to...
531 * libproc_macro_internal/rust/token_stream.rs: ...here.
532 * libproc_macro/span.cc: Moved to...
533 * libproc_macro_internal/span.cc: ...here.
534 * libproc_macro/span.h: Moved to...
535 * libproc_macro_internal/span.h: ...here.
536 * libproc_macro/tokenstream.cc: Moved to...
537 * libproc_macro_internal/tokenstream.cc: ...here.
538 * libproc_macro/tokenstream.h: Moved to...
539 * libproc_macro_internal/tokenstream.h: ...here.
540 * libproc_macro/tokentree.cc: Moved to...
541 * libproc_macro_internal/tokentree.cc: ...here.
542 * libproc_macro/tokentree.h: Moved to...
543 * libproc_macro_internal/tokentree.h: ...here.
544
545 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
546
547 * libproc_macro/literal.cc (Literal__from_string): Add
548 implementation with call to constructor.
549 (Literal::make_literal): Add new constructor which calls the
550 callback.
551 * libproc_macro/literal.h: Add new constructor's
552 prototype.
553 * libproc_macro/proc_macro.cc (bridge_is_available):
554 Change symbol name to match convention.
555 * libproc_macro/registration.h: Add lit_from_str
556 symbol.
557 * libproc_macro/tokenstream.cc (TokenStream::make_tokenstream):
558 Change symbol name to disambiguate with literal from string.
559
560 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
561
562 * libproc_macro/proc_macro.cc: Remove type alias.
563 * libproc_macro/registration.h: Likewise.
564
565 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
566
567 * libproc_macro/proc_macro.h (proc_macro_register_from_str):
568 Remove rogue function prototype.
569
570 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
571
572 * libproc_macro/proc_macro.cc (not_available): Remove
573 function.
574 * libproc_macro/proc_macro.h (not_available): Remove
575 function prototype.
576 * libproc_macro/registration.h: Change symbol type.
577 * libproc_macro/bridge.h: New file.
578
579 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
580
581 * libproc_macro/proc_macro.cc (bridge_is_available):
582 Add bridge function.
583 * libproc_macro/proc_macro.h (bridge_is_available):
584 Likewise.
585
586 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
587
588 * libproc_macro/proc_macro.cc (not_available): Add a
589 function to express bridge unavailability.
590 * libproc_macro/proc_macro.h (not_available): Likewise.
591 * libproc_macro/registration.h: Add symbol type.
592
593 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
594
595 * libproc_macro/proc_macro.cc (Procmacro::make_bang):
596 Change symbol name.
597 * libproc_macro/registration.h: Likewise.
598 * libproc_macro/tokenstream.cc (TokenStream::make_tokenstream): Likewise.
599
600 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
601
602 * libproc_macro/literal.cc (Literal__from_string):
603 Update to match rust interface.
604 * libproc_macro/literal.h (Literal__from_string):
605 Likewise.
606 * libproc_macro/tokenstream.cc (TokenStream__from_string):
607 Likewise.
608 * libproc_macro/tokenstream.h (TokenStream__from_string):
609 Likewise.
610
611 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
612
613 * libproc_macro/rust/bridge/literal.rs: Change extern C
614 function argument from raw string pointer and length to
615 FFIString.
616 * libproc_macro/rust/bridge/token_stream.rs: Likewise.
617
618 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
619
620 * libproc_macro/rust/bridge/ident.rs: Change raw
621 pointer string with an FFIString.
622
623 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
624
625 * libproc_macro/ident.cc (Ident__new): Constructor
626 accepts an FFIString now.
627 (Ident__new_raw): Likewise.
628 (Ident::clone): Internal members change means clone also change.
629 (Ident::make_ident): Change constructor call.
630 (Ident::drop): Add call to FFIString::clone.
631 * libproc_macro/ident.h (struct Ident): Remove raw
632 pointer and length, add an FFIString inside instead.
633 (Ident__new): Change constructor.
634 (Ident__new_raw): Change constructor.
635
636 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
637
638 * libproc_macro/proc_macro.cc (proc_macro_register_from_str):
639 Add registration function.
640 * libproc_macro/proc_macro.h (proc_macro_register_from_str):
641 Add registration function prototype.
642 * libproc_macro/tokenstream.cc (TokenStream::make_tokenstream):
643 Add a new constructor from a string that uses the registered
644 callback.
645 (TokenStream__from_string): Add call to new constructor.
646 * libproc_macro/tokenstream.h: Add registration
647 declaration.
648 * libproc_macro/registration.h: New file.
649
650 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
651
652 * libproc_macro/ffistring.cc (FFIString::make_ffistring):
653 Add explicit sizeof and utf-8 warning.
654 (FFIString::clone): Add explicit sizeof and utf-8 warning.
655 * libproc_macro/ident.cc (Ident::clone): Likewise.
656 (Ident::make_ident): Likewise.
657 * libproc_macro/tokenstream.cc (TokenStream::grow):
658 Fix vector growth.
659 (TokenStream__clone): Add explicit sizeof.
660
661 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
662
663 * libproc_macro/tokenstream.cc (TokenStream::grow): Add
664 minimum growing capacity.
665 (TokenStream::push): Change condition.
666
667 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
668
669 * libproc_macro/proc_macro.h (struct CustomDerivePayload):
670 Rename from CustomDerivePayload to...
671 (struct CustomDerive): ... CustomDerive
672 (struct AttrPayload): Rename from AttrPayload to ...
673 (struct Attribute): ... Attribute
674 (struct BangPayload): Rename from BangPayload to ...
675 (struct Bang): ... Bang
676 (union ProcmacroPayload): Update union with new names.
677
678 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
679
680 * libproc_macro/proc_macro.h (struct ProcmacroArray):
681 Add ProcmacroArray definition.
682
683 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
684
685 * libproc_macro/Makefile.am: Add span.cc
686 * libproc_macro/Makefile.in: Regenerate.
687 * libproc_macro/span.cc: New file.
688 * libproc_macro/span.h: New file.
689 * libproc_macro/group.cc (Group::make_group): Add span
690 argument.
691 * libproc_macro/group.h (GROUP_H): Add include
692 directive for spans.
693 * libproc_macro/ident.cc (Ident__new): Add span
694 argument.
695 (Ident__new_raw): Likewise.
696 (Ident::make_ident): Likewise.
697 * libproc_macro/ident.h (Ident__new): Likewise.
698 (Ident__new_raw): Likewise.
699 * libproc_macro/literal.cc (Literal::clone): Clone the
700 span.
701 (Literal::make_literal): Add span argument.
702 (Literal::make_u8): Likewise.
703 (Literal::make_u16): Likewise.
704 (Literal::make_u32): Likewise.
705 (Literal::make_u64): Likewise.
706 (Literal::make_i8): Likewise.
707 (Literal::make_i16): Likewise.
708 (Literal::make_i32): Likewise.
709 (Literal::make_i64): Likewise.
710 (Literal::make_string): Likewise.
711 (Literal::make_byte_string): Likewise.
712 (Literal::make_f32): Likewise.
713 (Literal::make_f64): Likewise.
714 (Literal::make_char): Likewise.
715 (Literal::make_usize): Likewise.
716 (Literal::make_isize): Likewise.
717 * libproc_macro/literal.h (struct Literal): Add span to
718 Literal structure.
719 * libproc_macro/punct.cc (Punct::make_punct): Add span
720 argument to punct constructor.
721 * libproc_macro/punct.h (struct Punct): Add span to
722 Punct structure.
723
724 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
725
726 * libproc_macro/rust/bridge/group.rs: Add span member
727 to the Group structure.
728 * libproc_macro/rust/bridge/ident.rs: Likewise with the
729 Ident structure.
730 * libproc_macro/rust/bridge/literal.rs: Likewise with
731 the Literal structure.
732 * libproc_macro/rust/bridge/punct.rs: Likewise with the
733 Punct structure.
734 * libproc_macro/rust/bridge/span.rs: Add span
735 internals.
736
737 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
738
739 * libproc_macro/rust/bridge/ffistring.rs: Implement
740 From trait for FFIString.
741 * libproc_macro/rust/bridge/literal.rs: Change
742 constructor call.
743
744 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
745
746 * libproc_macro/ffistring.cc (FFIString::make_ffistring):
747 Add copy from source pointer.
748
749 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
750
751 * libproc_macro/literal.h: Remove has_suffix member
752 attribute from Literal.
753 * libproc_macro/literal.cc: Update constructors.
754 * libproc_macro/rust/bridge/literal.rs: Remove
755 has_suffix attribute from Literal.
756
757 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
758
759 * libproc_macro/Makefile.am: Add ffistring unit to
760 compiled objects list.
761 * libproc_macro/Makefile.in: Regenerate.
762 * libproc_macro/literal.cc (Literal::drop): Change with
763 a call to ffistring drop function.
764 (Literal::make_literal): Add new helper constructor
765 (Literal__drop): Remove this function.
766 (Literal__string): Likewise.
767 (Literal__byte_string): Likewise.
768 (Literal__from_string): Moved this function.
769 (Literal::make_unsigned): Changed the constructor to match the
770 new layout.
771 (Literal::make_signed): Likewise.
772 (Literal::clone): Reimplement th eclone function.
773 (Literal::make_u8): Changed the constructor, make suffixed by
774 default.
775 (Literal::make_u16): Likewise.
776 (Literal::make_u32): Likewise.
777 (Literal::make_u64): Likewise.
778 (Literal::make_i8): Likewise.
779 (Literal::make_i16): Likewise.
780 (Literal::make_i32): Likewise.
781 (Literal::make_i64): Likewise.
782 (Literal::make_string): Likewise.
783 (Literal::make_byte_string): Likewise.
784 (Literal::make_f32): Likewise.
785 (Literal::make_f64): Likewise.
786 (Literal::make_char): Likewise.
787 (Literal::make_usize): Likewise.
788 (Literal::make_isize): Likewise.
789 (LitKind::make_byte): Add new helper constructor to avoid having
790 to set the payload value.
791 (LitKind::make_char): Likewise.
792 (LitKind::make_integer): Likewise.
793 (LitKind::make_float): Likewise.
794 (LitKind::make_str): Likewise.
795 (LitKind::make_str_raw): Add a new helper constructor which
796 takes the payload value as an argument.
797 (LitKind::make_byte_str): Add new helper constructor to avoid
798 mistakes with payload value.
799 (LitKind::make_byte_str_raw): Add a new helper constructor which
800 takes the payload value as an argument.
801 * libproc_macro/literal.h: Add new functions prototype.
802 (enum UnsignedTag): Removed because it is now unused.
803 (struct Payload128): Likewise.
804 (union UnsignedPayload): Likewise.
805 (struct Unsigned): Likewise.
806 (enum SignedTag): Likewise.
807 (union SignedPayload): Likewise.
808 (struct Signed): Likewise.
809 (enum LiteralTag): Likewise.
810 (enum LitKindTag): Likewise.
811 (struct StringPayload): Likewise.
812 (struct ByteStringPayload): Likewise.
813 (union LitKindPayload): Likewise.
814 (struct UnsignedSuffixPayload): Likewise.
815 (struct LitKind): Add new literal kind struct representation to
816 match the enum on rust side.
817 (struct SignedSuffixPayload): Removed because now unused.
818 (struct UsizePayload): Likewise.
819 (struct IsizePayload): Likewise.
820 (struct Float32Payload): Likewise.
821 (struct Float64Payload): Likewise.
822 (union LiteralPayload): Likewise.
823 (struct Literal): Changed the internals of the structure.
824 (Literal__drop): Removed the drop function fom the c interface.
825 (Literal__string): Removed unused function.
826 (Literal__byte_string): Removed unused function.
827 * libproc_macro/ffistring.cc: New file.
828 * libproc_macro/ffistring.h: New file.
829
830 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
831
832 * libproc_macro/rust/bridge.rs: Add ffistring module.
833 * libproc_macro/rust/bridge/literal.rs: Rework type
834 internals.
835 * libproc_macro/rust/bridge/ffistring.rs: New file.
836
837 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
838
839 * libproc_macro/proc_macro.cc (Procmacro::make_derive):
840 Add custom derive macro constructor.
841 (Procmacro::make_attribute): Add attribute macro constructor.
842 (Procmacro::make_bang): Add bang macro constructor.
843 * libproc_macro/proc_macro.h (struct Procmacro):
844 Add helper function prototypes.
845
846 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
847
848 * libproc_macro/proc_macro.h (struct CustomDerivePayload):
849 Add C compatible payload structure.
850 (struct AttrPayload): Likewise.
851 (struct BangPayload): Likewise.
852 (enum ProcmacroTag): Add tag for tagged union.
853 (union ProcmacroPayload): Proc macro payload union.
854 (struct Procmacro): Tagged union.
855
856 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
857
858 * libproc_macro/proc_macro.h: Add Literal, Punct,
859 Group, TokenTree and Tokenstream headers.
860
861 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
862
863 * Makefile.am: Remove libtool forwarding.
864 * Makefile.in: Regenerate.
865 * libproc_macro/Makefile.am: Creates an archive instead
866 of using libtool.
867 * libproc_macro/Makefile.in: Regenerate.
868
869 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
870
871 * libproc_macro/group.cc (Group::make_group): Remove
872 internal namespace.
873 (Group::drop): Likewise.
874 * libproc_macro/group.h (enum Delimiter): Make members
875 upercase.
876 (struct Group):
877 * libproc_macro/ident.cc (Ident::drop): Remove internal
878 namespace.
879 * libproc_macro/ident.h (Ident__clone): Likewise.
880 * libproc_macro/literal.cc (Literal::make_isize):
881 Likewise.
882 * libproc_macro/literal.h (union LiteralPayload):
883 Likewise.
884 (Literal__from_string): Likewise.
885 * libproc_macro/punct.cc (Punct::make_punct): Likewise.
886 * libproc_macro/punct.h (enum Spacing): Make members
887 uppercase.
888 * libproc_macro/tokenstream.cc (TokenStream::make_tokenstream):
889 Remove internal namespace.
890 (TokenStream::grow): Likewise.
891 (TokenStream::push): Likewise.
892 (TokenSream__push): Likewise.
893 (TokenStream__clone): Likewise.
894 (TokenStream__drop): Likewise.
895 * libproc_macro/tokenstream.h (struct TokenStream):
896 Likewise.
897 (TokenSream__push): Likewise.
898 (TokenStream__drop): Likewise.
899 * libproc_macro/tokentree.cc (TokenTree::make_tokentree):
900 Likewise.
901 (TokenTree::drop): Likewise.
902 * libproc_macro/tokentree.h (union TokenTreePayload):
903 Likewise.
904
905 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
906
907 * libproc_macro/group.cc (Group::drop): Add Procmacro
908 namespace.
909 * libproc_macro/group.h: Likewise.
910 * libproc_macro/ident.cc (Ident::drop): Likewise.
911 * libproc_macro/ident.h (Ident__clone): Likewise.
912 * libproc_macro/literal.cc (Literal::make_isize):
913 Likewise.
914 * libproc_macro/literal.h (Literal__from_string):
915 Likewise.
916 * libproc_macro/punct.cc (Punct::make_punct): Likewise.
917 * libproc_macro/punct.h: Likewise.
918 * libproc_macro/tokenstream.cc (TokenStream__drop):
919 Likewise.
920 * libproc_macro/tokenstream.h (TokenStream__drop):
921 Likewise.
922 * libproc_macro/tokentree.cc (TokenTree::drop):
923 Likewise.
924 * libproc_macro/tokentree.h: Likewise.
925
926 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
927
928 * libproc_macro/literal.cc (Literal::drop): Change
929 delete operator to delete[].
930
931 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
932
933 * libproc_macro/rust/bridge/token_stream.rs: Implement
934 drop.
935
936 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
937
938 * libproc_macro/group.cc (Group::drop): Add drop
939 implementation.
940 * libproc_macro/group.h: Add drop prototype.
941 * libproc_macro/tokenstream.cc (TokenStream::drop): Add
942 drop implementation.
943 (TokenStream__drop): Change to a call to TokenStream::drop.
944 * libproc_macro/tokenstream.h: Add drop prototype.
945 * libproc_macro/tokentree.cc (TokenTree::drop): Add
946 drop implementation.
947 * libproc_macro/tokentree.h: Add drop prototype.
948
949 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
950
951 * libproc_macro/literal.cc (Literal__drop): Replace
952 implementation by a call to Literal::drop.
953 (Literal::drop): Add drop implementation.
954 * libproc_macro/literal.h: Add function prototype.
955
956 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
957
958 * libproc_macro/ident.cc (Ident__drop): Replace by call
959 to Ident::drop.
960 (Ident::drop): Add drop function.
961 * libproc_macro/ident.h: Add drop prototype.
962
963 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
964
965 * libproc_macro/group.cc: New file.
966 * libproc_macro/group.h: New file.
967 * libproc_macro/tokenstream.cc: New file.
968 * libproc_macro/tokenstream.h: New file.
969 * libproc_macro/tokentree.cc: New file.
970 * libproc_macro/tokentree.h: New file.
971
972 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
973
974 * libproc_macro/punct.cc: New file.
975 * libproc_macro/punct.h: New file.
976
977 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
978
979 * libproc_macro/ident.cc (Ident::make_ident): Add Ident
980 namespace.
981 * libproc_macro/ident.h (Ident__clone): Likewise.
982
983 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
984
985 * libproc_macro/ident.cc (Ident__new): Use named
986 constructor.
987 (Ident__new_raw): Use named constructor.
988 (Ident__clone): Use clone member function.
989 (Ident::clone): Make clone const.
990 (Ident::make_ident): Add named construcot.
991 * libproc_macro/ident.h (struct Ident): Add named
992 constructor prototypes.
993
994 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
995
996 * libproc_macro/rust/bridge/ident.rs: Change drop
997 function interface.
998
999 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
1000
1001 * libproc_macro/ident.cc: New file.
1002 * libproc_macro/ident.h: New file.
1003
1004 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
1005
1006 * libproc_macro/literal.cc (Literal__string): Add call
1007 to named constructor.
1008 (Literal__byte_string): Likewise.
1009 (Literal::make_unsigned): Add function.
1010 (Literal::make_signed): Add function.
1011 (Literal::clone): Likewise.
1012 (Literal::make_u8): Likewise.
1013 (Literal::make_u16): Likewise.
1014 (Literal::make_u32): Likewise.
1015 (Literal::make_u64): Likewise.
1016 (Literal::make_i8): Likewise.
1017 (Literal::make_i16): Likewise.
1018 (Literal::make_i32): Likewise.
1019 (Literal::make_i64): Likewise.
1020 (Literal::make_string): Likewise.
1021 (Literal::make_byte_string): Likewise.
1022 (Literal::make_f32): Likewise.
1023 (Literal::make_f64): Likewise.
1024 (make_char): Likewise.
1025 (Literal::make_char): Likewise.
1026 (make_usize): Likewise.
1027 (Literal::make_usize): Likewise.
1028 (make_isize): Likewise.
1029 (Literal::make_isize): Likewise.
1030 * libproc_macro/literal.h: Add prototypes.
1031
1032 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
1033
1034 * libproc_macro/literal.cc (Literal__from_string):
1035 Add abort because unimplemented.
1036 * libproc_macro/literal.h (Literal__from_string): Add
1037 namespace.
1038
1039 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
1040
1041 * libproc_macro/rust/bridge/literal.rs: Make the
1042 pointer mutable.
1043
1044 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
1045
1046 * libproc_macro/literal.h (Literal__drop): Implement
1047 drop.
1048 (Literal__string): Constructor from a string function prototype.
1049 (Literal__byte_string): Constructor from a byte string function
1050 prototype.
1051 (Literal__from_string): Add function body, no implementation
1052 yet.
1053 * libproc_macro/literal.cc: New file.
1054
1055 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
1056
1057 * libproc_macro/proc_macro.h (PROC_MACRO_H): Add
1058 literal header include directive.
1059 * libproc_macro/literal.h: New file.
1060
1061 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
1062
1063 * libproc_macro/proc_macro.cc (test): Remove dummy
1064 function.
1065 * libproc_macro/proc_macro.h (test): Likewise.
1066
1067 2024-01-16 Pierre-Emmanuel Patry <[email protected]>
1068
1069 * libproc_macro/rust/bridge.rs: New file.
1070 * libproc_macro/rust/bridge/group.rs: New file.
1071 * libproc_macro/rust/bridge/ident.rs: New file.
1072 * libproc_macro/rust/bridge/literal.rs: New file.
1073 * libproc_macro/rust/bridge/punct.rs: New file.
1074 * libproc_macro/rust/bridge/span.rs: New file.
1075 * libproc_macro/rust/bridge/token_stream.rs: New file.
1076 * libproc_macro/rust/group.rs: New file.
1077 * libproc_macro/rust/ident.rs: New file.
1078 * libproc_macro/rust/lib.rs: New file.
1079 * libproc_macro/rust/literal.rs: New file.
1080 * libproc_macro/rust/punct.rs: New file.
1081 * libproc_macro/rust/span.rs: New file.
1082 * libproc_macro/rust/token_stream.rs: New file.
1083
1084 2024-01-08 Thomas Schwinge <[email protected]>
1085
1086 PR rust/113056
1087 * configure.ac: 'AM_ENABLE_MULTILIB' only for target builds.
1088 * configure: Regenerate.
1089
1090 2023-12-14 Pierre-Emmanuel Patry <[email protected]>
1091 Arthur Cohen <[email protected]>
1092
1093 * Makefile.am: New file.
1094 * Makefile.in: Generate.
1095 * configure.ac: New file.
1096 * configure: Generate.
1097 * aclocal.m4: Generate.
1098 * libproc_macro/Makefile.am: New file.
1099 * libproc_macro/proc_macro.cc: New file.
1100 * libproc_macro/proc_macro.h: New file.
1101 * libproc_macro/Makefile.in: Generate.
1102
1103 Copyright (C) 2023-2025 Free Software Foundation, Inc.
1104
1105 Copying and distribution of this file, with or without modification,
1106 are permitted in any medium without royalty provided the copyright
1107 notice and this notice are preserved.