Cleanup in metadata module
This commit is contained in:
parent
119193497e
commit
45efb1f02a
6 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
||||||
|
// Extracting metadata from crate files
|
||||||
|
|
||||||
|
|
||||||
// -*- rust -*-
|
|
||||||
import driver::session;
|
import driver::session;
|
||||||
import front::ast;
|
import front::ast;
|
||||||
import lib::llvm::False;
|
import lib::llvm::False;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Writing metadata into crate files
|
||||||
|
|
||||||
import std::str;
|
import std::str;
|
||||||
import middle::trans;
|
import middle::trans;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// Metadata decoding
|
||||||
|
|
||||||
import std::ebml;
|
import std::ebml;
|
||||||
import std::option;
|
import std::option;
|
||||||
import std::vec;
|
import std::vec;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// EBML tag definitions shared by the encoder and decoder
|
||||||
|
|
||||||
const uint tag_paths = 0x01u;
|
const uint tag_paths = 0x01u;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// Metadata encoding
|
||||||
|
|
||||||
import std::str;
|
import std::str;
|
||||||
import std::vec;
|
import std::vec;
|
||||||
import std::uint;
|
import std::uint;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Type decoding
|
// Type decoding
|
||||||
|
|
||||||
import std::str;
|
import std::str;
|
||||||
import std::vec;
|
import std::vec;
|
||||||
import std::uint;
|
import std::uint;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue