Test failure in 1.49.0 - Call to function `runtime_directory` failed: runtime directory not found
I am building just and running tests in a debian container on mac and linux.
All tests pass on `1.48.1` but the following test fails on `1.49.0`
It's possible this is due to developing in a container but thought I would raise it
```shell
---- directories::runtime_directory stdout ----
Bad status: Diff < left / right > :
Some(
< 1,
> 0,
)
Bad stderr: Diff < left / right > :
<error: Call to function `runtime_directory` failed: runtime directory not found
< ——▶ justfile:1:6
< │
<1 │ x := runtime_directory()
< │ ^^^^^^^^^^^^^^^^^
<
```
---
In case it helps this is how I spin up my just dev environment
```Dockerfile
FROM mcr.microsoft.com/devcontainers/rust:1-bookworm
# Install system dependencies used by dev workflow
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
ripgrep \
shellcheck \
pkg-config \
&& apt-get autoremove -y && apt-get clean -y && rm -fr /var/lib/apt/lists/*
# Ensure clippy and rustfmt are available
RUN rustup component add clippy rustfmt
```
```yaml
services:
dev:
build:
context: .
dockerfile: Dockerfile
volumes:
- just-home:/home/bluefing
- ..:/workspaces/just:cached
user: bluefing
command: sleep infinity
volumes:
just-home:
```
```make
docker compose -f docker-compose.yml run dev zsh
```
0 条评论