Fructose-1,6-bisphosphatase loss modulates STAT3-dependent expression of PD-L1 and cancer immunity. Here, STAT3 is linked to cancer.