Skip to content

cmd/compile: allow body-less functions under -complete flag if they have a //go:linkname attribute #23311

Closed

Description

@mdempsky

Currently the -complete flag (which is automatically set by cmd/go for packages without assembly source) disallows function declarations without a body. We should relax this to still allow function declarations without a body as long as they have a //go:linkname attribute.

Activity

  1. added this to the Go1.11 milestone on Jan 2, 2018
  2. added
    NeedsFixThe path to resolution is known, but the work has not been done.
    on Jun 30, 2018
  3. modified the milestones: Go1.11, Go1.12 on Jun 30, 2018
  4. gopherbot commented on Nov 26, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/151318 mentions this issue: cmd/compile: allow bodyless function if it is linkname'd

  5. added a commit that references this issue on Nov 26, 2018
    ca37492
  6. locked and limited conversation to collaborators on Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions