Bug#991761: rust-swc-core: ecma crates ready to enable (ITP #991761)

Juan M. Méndez Rey <[email protected]> Thu, 23 Jul 2026 14:45:56 +0000
Newsgroups gmane.linux.debian.devel.wnpp
Message-ID <W4VSW4cO6iCclq9jia9a_P4kiWyUG1DSGyjOzO53UuTWvPFj7QuxAIEK-NWpVP8MnatytQV7ZEVrHJPVAqfEy-yhb3BPJNWFrvVl0dCiBR0=__10917.63605816$1784818167$gmane$org@proton.me>
Hi Jonas,

I restructured the patches following the feedback:

5980141 extend 2002_petgraph with GraphMap generic fix for petgraph 0.6.x
22ad75a consolidate 2004/2006/2007 into 2003 patch series
63ecbbc consolidate 2008 test gating into 2005_avoid_crate_testing
24697bd add 2005_parser_doctest_ignore for tty-emitter doctest
c2e910c add 2005_ecma_ast_ctxt_fix for missing ctxt field in test fixture
42a143d add Build-Depends for ecma crate builds
3e400e2 update changelog for ecma crate additions

Regarding test = false: the testing crate is workspace-internal
and not in Debian. Several crates have #[cfg(test)] code importing
it, so lib tests can't compile without it. This extends the pattern
already in your 2005 patch.

https://salsa.debian.org/mendezr/rust-swc-core/-/commits/debian/latest

Please, let me know your thoughts,

Best,
Juan