diff options
author | Christos Zoulas <christos@zoulas.com> | 2022-11-18 15:58:15 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2022-11-18 15:58:15 +0000 |
commit | 555060458f9344732cc90c3c51baa4f89847bde0 (patch) | |
tree | 098c1089fee88aefa2110571207120b07a8bf192 | |
parent | 60665b80259e06223d9c470ee09f742ec220a331 (diff) | |
download | file-git-555060458f9344732cc90c3c51baa4f89847bde0.tar.gz |
Add rust incremental compilation metadata (Alexandre Iooss)
-rw-r--r-- | magic/Magdir/rust | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/magic/Magdir/rust b/magic/Magdir/rust index 79547b84..b1bbd9d9 100644 --- a/magic/Magdir/rust +++ b/magic/Magdir/rust @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: rust,v 1.1 2022/11/11 14:52:44 christos Exp $ +# $File: rust,v 1.2 2022/11/18 15:58:15 christos Exp $ # Magic for Rust and related languages programs # @@ -11,3 +11,11 @@ >12 string \014rustc\x20 Rust compiler metadata !:ext rmeta >>7 byte x \b, version %d + +# Rust incremental compilation metadata +# From: Alexandre Iooss <erdnaxe@crans.org> +# URL: https://github.com/rust-lang/rust/blob/1.64.0/compiler/rustc_incremental/src/persist/file_format.rs +0 string RSIC +>4 uleshort =0 Rust incremental compilation metadata +!:ext bin +>>6 pstring x \b, rustc %s |