I would strongly assume that the file is only embedded in the test binary. In fact it is hard to imagine a design where it would not be that way. If you really want to make sure, you could easily build two, identical binaries, that differ only in that a very large file is embedded in the test file for one, and compare sizes. On Tuesday, June 1, 2021 at 9:17:11 AM UTC-4 manlio....@gmail.com wrote:
> When a file is embedded in a test file, will the file be embedded only in > the test binary? > The documentation says nothing about this case, but the data from go list > seems to confirm that the file is only embedded in the test binary. > > Thanks > Manlio > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/f9f0df28-3319-43ee-a34a-d638a6008767n%40googlegroups.com.