summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/server_shell.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/server_shell.rs b/tests/server_shell.rs
index ae77a6a..e727044 100644
--- a/tests/server_shell.rs
+++ b/tests/server_shell.rs
@@ -55,6 +55,7 @@ fn build_docker_image() -> Result<(), DockerBuildError> {
};
// Based on this example: https://doc.rust-lang.org/std/sync/struct.Once.html#examples-1
+ // Could be replaced by https://doc.rust-lang.org/std/cell/struct.LazyCell.html once that is in stable rust
unsafe {
BUILD_DOCKER.call_once(|| {
BUILD_DOCKER_RESULT = build_docker();