Skip to content

Commit

Permalink
Update v3.3/glfw/build_cgo_hack.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Peter Waller <[email protected]>
  • Loading branch information
james-lawrence and pwaller authored Apr 20, 2020
1 parent 041637d commit 3161c07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions v3.3/glfw/build_cgo_hack.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

package glfw

// this file exists purely to prevent the golang toolchain from stripping
// away the c source directories and files.
// This file exists purely to prevent the golang toolchain from stripping
// away the c source directories and files when `go mod vendor` is used
// to populate a `vendor/` directory of a project depending on `go-gl/glfw`.
//
// How it works:
// - every directory which only includes c source files receives a dummy.go file.
Expand Down

0 comments on commit 3161c07

Please sign in to comment.