-
-
Notifications
You must be signed in to change notification settings - Fork 115
Expand file tree
/
Copy path.envrc
More file actions
25 lines (19 loc) · 619 Bytes
/
.envrc
File metadata and controls
25 lines (19 loc) · 619 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
source_up || true
# Define a function to run a command within a GitHub Actions group
cmd_group() {
local cmd="$*"
# Start group
if [[ -n "${GITHUB_ACTIONS:-}" ]]; then
echo "::group::$cmd"
fi
echo -e "\033[1;33m🧪 $cmd\033[0m"
# Run the command
eval "$cmd"
# End group
if [[ -n "${GITHUB_ACTIONS:-}" ]]; then
echo "::endgroup::"
fi
}
export MIRIFLAGS="-Zmiri-env-forward=RUST_BACKTRACE -Zmiri-env-forward=NEXTEST"
# Syntax highlighting for rustdoc (JSON, YAML, TOML, etc.) via arborium
export RUSTDOCFLAGS="--html-in-header $PWD/docs/meta/highlight.html"