Skip to content

cmd/cgo: panic if C.CString can't allocate memory #3403

@alberts

Description

@alberts
Please provide any additional information below.

C.CString currently just returns nil if it can't malloc. Maybe it should panic. After Go
1.

https://groups.google.com/forum/?fromgroups#!topic/golang-dev/G7T0_FPU20w

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions