XFFXFF
409ed367c2
using flat-map trick
2022-09-26 09:14:30 +00:00
zhou fan
6239fc217a
add a comment
...
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2022-09-26 17:09:19 +08:00
XFFXFF
cc6ab647fa
refactor outputs method of LocalState
2022-09-25 01:21:39 +00:00
XFFXFF
e7c7f386fe
fix accumulator: clear the outdated accumulated values
2022-09-25 00:24:16 +00:00
XFFXFF
1214610451
remove inputs method of QueryEdges
2022-09-24 23:59:25 +00:00
XFFXFF
a2be847e1a
remove unused variables and functions
2022-09-24 23:59:25 +00:00
XFFXFF
d71892c047
update diff output
2022-09-24 23:59:25 +00:00
XFFXFF
961c4ce154
update some tests and run cargo fmt
2022-09-24 23:59:25 +00:00
XFFXFF
98d1be0650
mark the outputs as valid as we encounter them in deep_verify_memo
2022-09-24 23:59:25 +00:00
XFFXFF
c219944699
merge input/output lists into one list
2022-09-24 23:59:25 +00:00
XFFXFF
1ae6a7bbc5
use Assigned
insread of Field
and remove Field
2022-09-24 23:59:25 +00:00
XFFXFF
99cfca5799
add the fields of tracked struct to the output of queries
2022-09-24 23:59:25 +00:00
XFFXFF
4c4096e39b
panic when reading fields of tracked structs from older revisions
2022-09-24 23:59:25 +00:00
Niko Matsakis
684ab6f4fe
Update components/salsa-2022/src/input.rs
2022-09-17 06:44:11 -04:00
OLUWAMUYIWA
4bb4262569
cargo fmt
2022-09-16 15:02:15 +01:00
OLUWAMUYIWA
0f21bf0fd8
made singleton struct panic upon duplication and added tests to immutable fields
2022-09-16 14:53:56 +01:00
Jack Rickard
f1499a20e2
Fix unsoundness in input_field.rs
2022-09-15 21:25:54 +01:00
Jack Rickard
5b8464c4f9
Support on-demand inputs
...
This adds initial support for on-demand inputs by allowing new inputs to
be created with only a shared reference to the database. This allows
creating new inputs during a revision and therefore from inside tracked
functions.
2022-09-15 21:25:53 +01:00
Bernardo Uriarte
378090acc8
add documentation back
2022-09-13 18:01:21 +02:00
Bernardo Uriarte
a288c40034
simplify paths
2022-09-13 18:01:21 +02:00
Bernardo Uriarte
84445d5120
propagate include_all_fields
option
2022-09-13 18:01:21 +02:00
Bernardo Uriarte
d57c3d36b8
add documentation
2022-09-13 18:01:21 +02:00
Bernardo Uriarte
f4c6f4126e
make DebugWithDb::debug
only read identiy fields
...
and add `DebugWithDb::debug_all` which reads all fields
2022-09-13 18:01:19 +02:00
Onigbinde Oluwamuyiwa Elijah
fac05b3c9f
Merge branch 'salsa-rs:master' into singleton
2022-09-11 09:12:17 +01:00
Jack Rickard
5832ad3090
Replace () with Singleton Salsa struct
2022-09-06 00:34:00 +01:00
Jack Rickard
a9e24d8b0d
Allow "constant" tracked functions
...
This adds support for tracked functions with only a database as input,
that is, it does not take a salsa struct.
2022-09-06 00:33:43 +01:00
OLUWAMUYIWA
3ca70e6b04
cargo fmt
2022-09-02 03:02:51 +01:00
OLUWAMUYIWA
565c53d4dd
Support singleton inputs
2022-09-02 02:54:21 +01:00
Bernardo Uriarte
fd71561981
reduce amount of generated code for DebugWithDb
...
by moving part of it to `salsa-2022`
2022-08-30 18:03:18 +02:00
XFFXFF
f46f2ac202
fix typos
2022-08-27 07:52:18 +08:00
XFFXFF
f7519acb13
add a test for specify
...
`specify` does not work if the key is a `salsa::interned`
2022-08-27 07:51:35 +08:00
XFFXFF
dbe8561721
add some docs for specify
2022-08-27 06:22:04 +08:00
bors[bot]
5c63715a95
Merge #381
...
381: fix typos r=nikomatsakis a=Aadamandersson
Co-authored-by: Adam Andersson <adam.m.andersson@gmail.com>
2022-08-25 10:34:44 +00:00
bors[bot]
63fb4ad24c
Merge #376 #379
...
376: add `synthetic_write` r=nikomatsakis a=XFFXFF
fixes #364
add `synthetic_write` and use it in test `lru_keeps_dependency_info`, the test will now be broken. We can use `lru_keeps_dependency_info` as a test for https://github.com/salsa-rs/salsa/issues/365 , which already has a pr https://github.com/salsa-rs/salsa/pull/371 .
379: Update test.yml r=nikomatsakis a=agluszak
- Add names to steps
- No need to run clippy AND check (https://stackoverflow.com/questions/57449356/is-cargo-clippy-a-superset-of-cargo-check )
- Run clippy on all targets with all features
- Fix issues reported by clippy
Co-authored-by: XFFXFF <1247714429@qq.com>
Co-authored-by: Andrzej Głuszak <gluszak.andrzej@gmail.com>
Co-authored-by: andrzej.gluszak <andrzej.gluszak@mpi-sp.org>
2022-08-25 10:30:34 +00:00
XFFXFF
266505d58e
remove synthetic_write from Runtime
2022-08-25 13:46:58 +08:00
XFFXFF
f899551962
fix unused import
2022-08-25 06:43:47 +08:00
XFFXFF
8e754ec0d7
add report_untracked_read to salsa::Database
2022-08-25 06:30:27 +08:00
XFFXFF
e86252d051
add synthetic_write to salsa::Database
2022-08-25 06:13:12 +08:00
XFFXFF
2dc5a6c796
remove salsa_runtime
2022-08-25 06:01:23 +08:00
Adam Andersson
18507f2ff7
fix some typos
2022-08-24 21:12:58 +02:00
andrzej.gluszak
73102b1e8e
Fix clippy issues
2022-08-24 18:45:53 +02:00
XFFXFF
0e0626abfa
writes with jars_mut
2022-08-24 20:17:13 +08:00
XFFXFF
6776919f39
give salsa_runtime a default implementation
2022-08-24 20:11:48 +08:00
XFFXFF
f5b0ff59d3
add runtime_mut and synthetic_write to HasJarsDyn
2022-08-24 20:01:00 +08:00
XFFXFF
340e2d521d
add synthetic write
2022-08-24 19:00:21 +08:00
Niko Matsakis
282f45e011
run cargo fmt
2022-08-24 06:46:03 -04:00
Onigbinde Oluwamuyiwa Elijah
4b2c42e3c4
Merge branch 'salsa-rs:master' into lru_port
2022-08-22 20:53:04 +01:00
bors[bot]
d3f0077d21
Merge #369
...
369: Try to fix issue#340 r=XFFXFF a=zjp-CN
(WIP)
Follow the instructions from https://github.com/salsa-rs/salsa/issues/340#issuecomment-1210153085 .
Still not sure what to do with `fmt_index`...
Fix #340
Co-authored-by: zjp <jiping_zhou@foxmail.com>
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2022-08-22 13:42:18 +00:00
zjp
863ec4ac7f
fix(debug_name): impl for InternedIngredient
2022-08-22 21:17:48 +08:00
Charles Lew
7267452ff1
Implement Setter API
2022-08-22 19:22:47 +08:00