Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.46 KB

README.rst

File metadata and controls

50 lines (35 loc) · 1.46 KB

Basic go_library functionality

empty

Checks that a go_library will compile and link even if all the sources (including assembly sources) are filtered out by build constraints.

asm_include

Checks that assembly files in a go_library may include other assembly files in the same library. Verifies `#1520`_.

asm_header

Checks that assembly files in a go_library may include "go_asm.h", generated by the compiler. Verifies `#1262`_.

package_height

Checks that when a library embeds another library, the embedder's dependencies may override the embeddee's dependencies. Verifies `#1772`_.

import_alias_test

Checks that a library may import another library using one of the strings listed in importpath_aliases. This is the basic mechanism for minimal module compatibility. Verifies `#2058`_.

embedsrcs_test

Checks that go_library can match //go:embed directives to files listed in the embedsrcs attribute and can pass those files to the compiler.

embedsrcs_error_test

Verifies common errors with //go:embed directives are correctly reported.