You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The can_compile function in build.rs previously invoked rustc with
-o -, which causes rustc to attempt to create a temporary metadata
directory in the current working directory.
When building with Portage for ChromeOS, this happens in a sandbox where
the current working directory is not writeable, resulting in a sandbox
access violation.
This change modifies the can_compile function to use a temporary
directory for the output file. This forces rustc to create the temporary
file in a writeable location, avoiding the sandbox issue.
0 commit comments