Compounds having activity as inhibitors of G12C mutant KRAS protein are provided. The compounds have the following structure (I):