diff options
| author | Jo Bates <29763794+jbatez@users.noreply.github.com> | 2025-06-04 19:49:13 -0700 |
|---|---|---|
| committer | Jo Bates <29763794+jbatez@users.noreply.github.com> | 2025-09-13 16:06:22 -0700 |
| commit | 1ebf69d1b1a94e99c01680514571c41d0b864c15 (patch) | |
| tree | e2676d6c42b09f85f30f57f8447f0f862d1daa33 /compiler/rustc_codegen_ssa/src | |
| parent | 02c7b1a7ac1d739663878030510508372e46f254 (diff) | |
| download | rust-1ebf69d1b1a94e99c01680514571c41d0b864c15.tar.gz rust-1ebf69d1b1a94e99c01680514571c41d0b864c15.zip | |
initial implementation of the darwin_objc unstable feature
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/codegen_attrs.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs index dc500c363f4..32ae810ecc8 100644 --- a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs +++ b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs @@ -296,6 +296,12 @@ fn process_builtin_attrs( AttributeKind::Sanitize { span, .. } => { interesting_spans.sanitize = Some(*span); } + AttributeKind::ObjcClass { classname, .. } => { + codegen_fn_attrs.objc_class = Some(*classname); + } + AttributeKind::ObjcSelector { methname, .. } => { + codegen_fn_attrs.objc_selector = Some(*methname); + } _ => {} } } |
