Commit 64f19d70 authored by Egon Elbre's avatar Egon Elbre Committed by David Chase
Browse files

cmd/compile/internal/logopt: preserve env while running command

The test was not preserving temporary directory flags leading to a
failure on windows with:

    mkdir C:\WINDOWS\go-build315158903: Access is denied.

Fixes #38251

Change-Id: I6ee31b31e84b7f6e75ea6ee0f3b8c094835bf5d2
Reviewed-on: https://go-review.googlesource.com/c/go/+/227497


Reviewed-by: default avatarDavid Chase <drchase@google.com>
parent 553a8626
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment