Go env: - `GODEBUG=randautoseed=0`: deterministic global `math/rand` in every mode.
()
| 5 | /// Go env: |
| 6 | /// - `GODEBUG=randautoseed=0`: deterministic global `math/rand` in every mode. |
| 7 | pub(super) fn env() -> Vec<(&'static str, String)> { |
| 8 | let user_godebug = std::env::var(GODEBUG).ok(); |
| 9 | vec![(GODEBUG, godebug(user_godebug.as_deref()))] |
| 10 | } |
| 11 | |
| 12 | /// Prepends our settings to the user's `GODEBUG`. Go uses the last occurrence |
| 13 | /// of a setting, so an explicit `randautoseed` from the user still wins. |
nothing calls this directly
no outgoing calls
no test coverage detected