From d753cbf7793f20229ed7a151d060456a9e1396e9 Mon Sep 17 00:00:00 2001 From: Manuel Drehwald Date: Wed, 1 Jan 2025 21:42:45 +0100 Subject: upstream rustc_codegen_llvm changes for enzyme/autodiff --- compiler/rustc_codegen_llvm/src/llvm/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compiler/rustc_codegen_llvm/src/llvm/mod.rs') diff --git a/compiler/rustc_codegen_llvm/src/llvm/mod.rs b/compiler/rustc_codegen_llvm/src/llvm/mod.rs index 909afe35a17..2592a7df95c 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/mod.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/mod.rs @@ -22,8 +22,11 @@ use crate::common::AsCCharPtr; pub mod archive_ro; pub mod diagnostic; +pub mod enzyme_ffi; mod ffi; +pub use self::enzyme_ffi::*; + impl LLVMRustResult { pub fn into_result(self) -> Result<(), ()> { match self { -- cgit 1.4.1-3-g733a5