From 0e75a03fe6647d081b1b02564e393bd15f1ca79e Mon Sep 17 00:00:00 2001 From: Gohla Date: Wed, 20 Sep 2023 13:58:23 +0000 Subject: [PATCH] deploy: 0444b00a93352564f25bf2f554f589c23c7c11e1 --- .../2_non_incremental/index.html | 10 +- 2_incrementality/1_require_file/index.html | 8 +- 2_incrementality/2_stamp/index.html | 12 +-- 2_incrementality/3_dependency/index.html | 2 +- 2_incrementality/4_store/index.html | 8 +- 2_incrementality/5_context/index.html | 22 ++--- 3_min_sound/1_session/index.html | 14 +-- 3_min_sound/2_tracker/index.html | 12 +-- css/general.css | 3 + css/variables.css | 2 +- diff2html.min.css | 5 +- gen/1_programmability/0_setup/source.zip | Bin 695 -> 695 bytes gen/1_programmability/1_api/source.zip | Bin 1097 -> 1097 bytes .../2_non_incremental/d_cargo.txt | 2 +- .../2_non_incremental/source.zip | Bin 1969 -> 1969 bytes .../1_require_file/source.zip | Bin 5252 -> 5252 bytes gen/2_incrementality/2_stamp/source.zip | Bin 6901 -> 6901 bytes gen/2_incrementality/3_dependency/source.zip | Bin 8744 -> 8744 bytes gen/2_incrementality/4_store/source.zip | Bin 12809 -> 12809 bytes .../5b_context_example/d_main.txt | 2 +- .../5b_context_example/e_reuse.txt | 2 +- .../5b_context_example/l_diff_stamp.txt | 2 +- .../5b_context_example/source.zip | Bin 16760 -> 16760 bytes gen/3_min_sound/1_session/source.zip | Bin 17260 -> 17260 bytes .../2_tracker/i_writing_example.txt | 42 ++++----- gen/3_min_sound/2_tracker/source.zip | Bin 21000 -> 21000 bytes print.html | 88 +++++++++--------- searchindex.js | 2 +- searchindex.json | 2 +- src/diff2html.min.css | 5 +- 30 files changed, 127 insertions(+), 118 deletions(-) diff --git a/1_programmability/2_non_incremental/index.html b/1_programmability/2_non_incremental/index.html index ff38ee2..defb647 100644 --- a/1_programmability/2_non_incremental/index.html +++ b/1_programmability/2_non_incremental/index.html @@ -181,7 +181,7 @@

Context module

Since we will be implementing three different contexts in this tutorial, we will separate them in different modules. Create the context module by adding a module to pie/src/lib.rs:

-
+

The write_until_modified function writes to the file, but ensures its modified time will change. Now change the tests in pie/src/stamp.rs to use this function:

-
+

Update NonIncrementalContext in src/context/non_incremental.rs to implement the new methods:

-
+

Store basics

Add the store module to pie/src/lib.rs:

-
+

To prevent accidentally using a file node as a task node, and vice versa, change pie/src/store.rs to add specific types of nodes:

-
+

And then change pie/src/context/mod.rs to store these errors:

-
+

Then, change pie/examples/incremental.rs to use sessions:

-
+

The write_until_modified function writes to the file, but ensures its modified time will change. Now change the tests in pie/src/stamp.rs to use this function:

-
+

Update NonIncrementalContext in src/context/non_incremental.rs to implement the new methods:

-
+

Store basics

Add the store module to pie/src/lib.rs:

-
+

To prevent accidentally using a file node as a task node, and vice versa, change pie/src/store.rs to add specific types of nodes:

-
+

And then change pie/src/context/mod.rs to store these errors:

-
+

Then, change pie/examples/incremental.rs to use sessions:

-
+