Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not build with -race #4

Closed
tp opened this issue Jul 12, 2013 · 2 comments
Closed

Can not build with -race #4

tp opened this issue Jul 12, 2013 · 2 comments

Comments

@tp
Copy link

tp commented Jul 12, 2013

go build -race main.go returns

src/github.com/jmoiron/sqlx/sqlx.go:350: cannot take the address of runtime.assertE2T(runtime.typ·2 = &type."".Stmt, runtime.iface·3 = stmt).Stmt

on projects using sqlx.

@jmoiron
Copy link
Owner

jmoiron commented Jul 12, 2013

Just a note to myself, this also happens building sqlx w/ -race

@jmoiron
Copy link
Owner

jmoiron commented Jul 12, 2013

This builds in tip but not in go1.1.1. It's likely a bug in the race detector code which has been fixed since 1.1.1's release.

@jmoiron jmoiron closed this as completed Jul 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants