summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-03-09 09:49:42 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-03-09 09:49:42 +0200
commitf00b442e0ef0bcf409b4698c1bc4f48a0887eba6 (patch)
tree4d94410a72a7ccd64e93823c7db348c9c72bbe81 /tests
parente4de0c976a5546e4398df3689b9fd283ee3fe4d0 (diff)
Note on research
Diffstat (limited to 'tests')
-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();