Skip to content

Commit

Permalink
Permalink + dedup
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Jul 8, 2024
1 parent f477d0b commit 7a68a68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions internal/injector/builtin/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/injector/builtin/yaml/stdlib/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ aspects:
- join-point:
struct-definition: runtime.g
advice:
- add-blank-import: unsafe
- add-struct-field:
name: __dd_gls
type: any
- add-blank-import: unsafe # Needed for go:linkname
- inject-declarations: # Reference: https://github.com/golang/go/blob/master/src/runtime/HACKING.md?plain=1#L44
- inject-declarations:
# Reference: https://github.com/golang/go/blob/6d89b38ed86e0bfa0ddaba08dc4071e6bb300eea/src/runtime/HACKING.md?plain=1#L44-L54
template: |-
//go:linkname __dd_orchestrion_gls_get __dd_orchestrion_gls_get
var __dd_orchestrion_gls_get = func() any {
Expand Down

0 comments on commit 7a68a68

Please sign in to comment.