Make PIC optional for compilers

This commit is contained in:
Syrus
2020-05-19 16:56:56 -07:00
parent 78aa07fe57
commit ae8dcfcb27
10 changed files with 50 additions and 30 deletions

View File

@@ -158,6 +158,10 @@ impl CompilerConfig for LLVMConfig {
&self.features
}
fn enable_pic(&mut self) {
unimplemented!("PIC is not yet implemented in LLVM");
}
/// Gets the target that we will use for compiling
/// the WebAssembly module
fn target(&self) -> &Target {