Skip to content

Commit cfeab8d

Browse files
committed
[HACK][No Upstream] Disable Rust's special LLVM code
1 parent d6ed14c commit cfeab8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustllvm/PassWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ static CodeGenOpt::Level fromRust(LLVMRustCodeGenOptLevel Level) {
246246
}
247247
}
248248

249-
#if LLVM_RUSTLLVM
249+
#if 0 //LLVM_RUSTLLVM
250250
/// getLongestEntryLength - Return the length of the longest entry in the table.
251251
///
252252
static size_t getLongestEntryLength(ArrayRef<SubtargetFeatureKV> Table) {

0 commit comments

Comments
 (0)