[File] [PATCH] Magdir/rust for Rust incremental compilation metadata

Alexandre IOOSS erdnaxe at crans.org
Thu Nov 17 07:32:20 UTC 2022


Hello,

I would like to propose a new signature for incremental compilation 
metadata generated by the Rust compiler.

When compiling a Rust crate with Cargo, a `target/[debug|release]` 
folder is created inside the crate. This folder usually contains a 
`incremental` sub-folder that holds metadata for incremental 
compilation. I propose to add a new signature for these files:
```
$ file dep-graph.bin query-cache.bin --magic-file rust.magic
dep-graph.bin:   Rust incremental compilation metadata, rustc 1.56.1
query-cache.bin: Rust incremental compilation metadata, rustc 1.56.1
```

Attached, you will find the signature.

Best regards,

-- 
Alexandre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rust.patch
Type: text/x-patch
Size: 554 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20221117/c483d1cf/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.astron.com/pipermail/file/attachments/20221117/c483d1cf/attachment.asc>


More information about the File mailing list