Remove COCOTB_SIM from C sources
@@ -202,11 +202,6 @@ void gpi_load_extra_libs()
/* Lets look at what other libs we were asked to load too */
char *lib_env = getenv("GPI_EXTRA");
- /* inform python that we are in simulation
- * TODO[gh-1566]: Eliminate the need for this completely. */
- static char cocotb_sim_env[] = "COCOTB_SIM=1";
- putenv(cocotb_sim_env); // putenv requires the array lifetime to be as long as the program lifetime, hence the static
-
if (lib_env) {
std::string lib_list = lib_env;
std::string const delim = ",";
