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 @@
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:
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:
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: