Move some filename constants to cg_ssa

This commit is contained in:
bjorn3 2019-03-30 13:03:52 +01:00
parent 8a8837967f
commit 892c88b32f
7 changed files with 9 additions and 12 deletions

View file

@ -37,8 +37,6 @@ pub const RLIB_BYTECODE_OBJECT_MAGIC: &[u8] = b"RUST_OBJECT";
// The version number this compiler will write to bytecode objects in rlibs
pub const RLIB_BYTECODE_OBJECT_VERSION: u8 = 2;
pub const RLIB_BYTECODE_EXTENSION: &str = "bc.z";
pub fn encode(identifier: &str, bytecode: &[u8]) -> Vec<u8> {
let mut encoded = Vec::new();