Skip to content
Snippets Groups Projects
  • jkito's avatar
    09416b1d
    cgo: set cgo compiler flags in backend.go · 09416b1d
    jkito authored and Pea Nut's avatar Pea Nut committed
    the C import line is recommended to be on a separate line
    this allows to use the comments in the lines preceeding it
    to setup various cpp compiler flags
    
    this also uses cgo comments to pass additional import dirs
    for the cpp compiler, these are needed for gopls to work
    09416b1d
    History
    cgo: set cgo compiler flags in backend.go
    jkito authored and Pea Nut's avatar Pea Nut committed
    the C import line is recommended to be on a separate line
    this allows to use the comments in the lines preceeding it
    to setup various cpp compiler flags
    
    this also uses cgo comments to pass additional import dirs
    for the cpp compiler, these are needed for gopls to work
backend.go 2.73 KiB