Skip to content

Commit

Permalink
Merge pull request #1915 from Horki/native_unused_artifact_dead
Browse files Browse the repository at this point in the history
lib: api; native remove unused, engine; add dead_code
  • Loading branch information
syrusakbary authored Dec 10, 2020
2 parents 0d2396b + 6f1877f commit 86d60e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/engine-object-file/src/artifact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ pub struct ObjectFileArtifact {
symbol_registry: ModuleMetadataSymbolRegistry,
}

#[allow(dead_code)]
fn to_compile_error(err: impl Error) -> CompileError {
CompileError::Codegen(format!("{}", err))
}

#[allow(dead_code)]
const WASMER_METADATA_SYMBOL: &[u8] = b"WASMER_METADATA";

impl ObjectFileArtifact {
Expand Down

0 comments on commit 86d60e3

Please sign in to comment.