diff options
| author | Michael Woerister <michaelwoerister@posteo.net> | 2016-04-22 14:07:23 -0400 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo.net> | 2016-04-28 16:53:00 -0400 |
| commit | 0fc9f9a20080753426772eac77d4d135ccd01ab7 (patch) | |
| tree | 8a8608422fde56ab13be64ed3e7adf9a8abff549 /src/librustc_llvm | |
| parent | 7f04d35cc6ca34e94a0635bde76a401f7f4a65da (diff) | |
| download | rust-0fc9f9a20080753426772eac77d4d135ccd01ab7.tar.gz rust-0fc9f9a20080753426772eac77d4d135ccd01ab7.zip | |
Make the codegen unit partitioner also emit item declarations.
Diffstat (limited to 'src/librustc_llvm')
| -rw-r--r-- | src/librustc_llvm/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_llvm/lib.rs b/src/librustc_llvm/lib.rs index 12d652bd5cb..526b6bf68be 100644 --- a/src/librustc_llvm/lib.rs +++ b/src/librustc_llvm/lib.rs @@ -97,7 +97,7 @@ pub enum Visibility { // DLLExportLinkage, GhostLinkage and LinkOnceODRAutoHideLinkage. // LinkerPrivateLinkage and LinkerPrivateWeakLinkage are not included either; // they've been removed in upstream LLVM commit r203866. -#[derive(Copy, Clone, PartialEq, Eq, Debug)] +#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)] pub enum Linkage { ExternalLinkage = 0, AvailableExternallyLinkage = 1, |
