Sign in
rust
/
rust
/
HEAD
/
.
/
library
/
compiler-builtins
/
crates
/
update-api-list
/
src
/
lib.rs
blob: a07ae3411ee37141ad5afca7731cc0d69826394c [
file
]
use
std
::
path
::{
Path
,
PathBuf
};
use
std
::
sync
::
LazyLock
;
pub
static
WORKSPACE_ROOT
:
LazyLock
<
PathBuf
>
=
LazyLock
::
new
(||
{
Path
::
new
(
env
!(
"CARGO_MANIFEST_DIR"
))
.
parent
()
.
unwrap
()
.
parent
()
.
unwrap
()
.
to_owned
()
});