Auto merge of #83273 - cjgillot:endecode, r=michaelwoerister
Simplify encoder and decoder Extracted from https://github.com/rust-lang/rust/pull/83036 and https://github.com/rust-lang/rust/pull/82780.
This commit is contained in:
commit
d04c3aa865
11 changed files with 126 additions and 158 deletions
|
@ -15,6 +15,7 @@ use std::io::{self, Read};
|
|||
use std::path::Path;
|
||||
|
||||
use rustc_serialize::opaque::{FileEncodeResult, FileEncoder};
|
||||
use rustc_serialize::Encoder;
|
||||
|
||||
/// The first few bytes of files generated by incremental compilation.
|
||||
const FILE_MAGIC: &[u8] = b"RSIC";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue