diff options
| author | Oli Scherer <github35764891676564198441@oli-obk.de> | 2025-07-22 07:31:34 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-22 07:31:34 +0000 |
| commit | 7a8288bce479b12f489a2b66b5cee1dfc6ff2e07 (patch) | |
| tree | 1e3358af6a7e888bc61e10260096da0fad04ade5 /compiler/rustc_codegen_ssa/src/back | |
| parent | 800d80593e807371a7a149655b1625c70e3a9416 (diff) | |
| parent | 4d62686f4f3d5249e96c0ae82217abae052fe481 (diff) | |
| download | rust-7a8288bce479b12f489a2b66b5cee1dfc6ff2e07.tar.gz rust-7a8288bce479b12f489a2b66b5cee1dfc6ff2e07.zip | |
Merge pull request #4487 from rust-lang/rustup-2025-07-22
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/back')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/write.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/write.rs b/compiler/rustc_codegen_ssa/src/back/write.rs index 50a7cba300b..24e0a4eb533 100644 --- a/compiler/rustc_codegen_ssa/src/back/write.rs +++ b/compiler/rustc_codegen_ssa/src/back/write.rs @@ -120,6 +120,7 @@ pub struct ModuleConfig { pub emit_lifetime_markers: bool, pub llvm_plugins: Vec<String>, pub autodiff: Vec<config::AutoDiff>, + pub offload: Vec<config::Offload>, } impl ModuleConfig { @@ -268,6 +269,7 @@ impl ModuleConfig { emit_lifetime_markers: sess.emit_lifetime_markers(), llvm_plugins: if_regular!(sess.opts.unstable_opts.llvm_plugins.clone(), vec![]), autodiff: if_regular!(sess.opts.unstable_opts.autodiff.clone(), vec![]), + offload: if_regular!(sess.opts.unstable_opts.offload.clone(), vec![]), } } |
