gcc/libgrust/libformat_parser
Arthur Cohen 9b540c4299 gccrs: format-args: Start storing string in Rust memory
gcc/rust/ChangeLog:

	* ast/rust-fmt.cc (ffi::RustHamster::to_string): New.
	(Pieces::collect): Adapt to use new handle API.
	(Pieces::~Pieces): Likewise.
	(Pieces::Pieces): Likewise.
	(Pieces::operator=): Likewise.
	* ast/rust-fmt.h (struct RustString): Add members.
	(struct FormatArgsHandle): New.
	(clone_pieces): Adapt for new FFI API.
	(destroy_pieces): Likewise.
	(struct Pieces): Store new FormatArgsHandle type.
	* expand/rust-expand-format-args.cc (expand_format_args): Use proper
	namespace.
	* resolve/rust-ast-resolve-base.cc (ResolverBase::visit): FormatArgs
	nodes are already resolved, so do nothing.

libgrust/ChangeLog:

	* libformat_parser/src/lib.rs: Use new Handle struct and expose it.
2024-08-01 13:12:16 +02:00
..
.cargo
generic_format_parser gccrs: format-parser: Add is_some_and method for Option<T> 2024-08-01 13:11:29 +02:00
src gccrs: format-args: Start storing string in Rust memory 2024-08-01 13:12:16 +02:00
vendor
Cargo.lock
Cargo.toml
cbindgen.toml gccrs: libformat_parser: Start experimenting with cbindgen 2024-08-01 13:11:28 +02:00
Makefile.am Rust: Move 'libformat_parser' build into libgrust 2024-08-01 13:11:28 +02:00
Makefile.in Rust: Move 'libformat_parser' build into libgrust 2024-08-01 13:11:28 +02:00
vendor.NOTES