rust 770 B

123456789101112131415161718192021
  1. #------------------------------------------------------------------------------
  2. # $File: rust,v 1.2 2022/11/18 15:58:15 christos Exp $
  3. # Magic for Rust and related languages programs
  4. #
  5. # Rust compiler metadata
  6. # From: Alexandre Iooss <erdnaxe@crans.org>
  7. # URL: https://github.com/rust-lang/rust/blob/1.64.0/compiler/rustc_metadata/src/rmeta/mod.rs
  8. 0 string rust\x00\x00\x00
  9. >12 string \014rustc\x20 Rust compiler metadata
  10. !:ext rmeta
  11. >>7 byte x \b, version %d
  12. # Rust incremental compilation metadata
  13. # From: Alexandre Iooss <erdnaxe@crans.org>
  14. # URL: https://github.com/rust-lang/rust/blob/1.64.0/compiler/rustc_incremental/src/persist/file_format.rs
  15. 0 string RSIC
  16. >4 uleshort =0 Rust incremental compilation metadata
  17. !:ext bin
  18. >>6 pstring x \b, rustc %s