Commit graph

1538 commits

Author SHA1 Message Date
Niko Matsakis
8a3cc6e404 add a test for handle cancellation
I realized there weren't any!
2024-07-24 10:36:07 +00:00
Niko Matsakis
a5395665ce order cycles by debug_name first
We used to sort just by the ingredient index,
but since those are now added dynamically,
that can be fairly unstable in some of the tests.
We now sort by the "debug name" of the ingredient
first, which is more reliably stable.
2024-07-24 10:10:37 +00:00
Niko Matsakis
03a62c8ce5 add debug_name method to ingredient
We can use this to more reliably sort.
2024-07-24 10:06:57 +00:00
Niko Matsakis
470c5b3d78 restore parallel_cycle_one_recover 2024-07-24 09:54:30 +00:00
Niko Matsakis
ac474a9c8d restore parallel_cycle_mid_recover 2024-07-24 09:53:24 +00:00
Niko Matsakis
82d37de105 start restoring parallel tests 2024-07-24 09:46:19 +00:00
Niko Matsakis
21af3a2009 move local state into thread local 2024-07-23 21:45:31 -04:00
Niko Matsakis
74ef66dbb4 make tracked structs take db, not runtime 2024-07-23 11:54:55 -04:00
Niko Matsakis
782896772f make interner take database, not runtime 2024-07-23 11:54:55 -04:00
Niko Matsakis
53ccfa3fc3 make input::fields take Database not Runtime 2024-07-23 11:54:55 -04:00
Niko Matsakis
f466228da5 make accumulate take database instead of Runtime
We are going to want to take databases at
public entry points.
2024-07-23 11:54:55 -04:00
Niko Matsakis
3d2b2d3a65 remove RuntimeId and use ThreadId 2024-07-23 11:53:37 -04:00
Niko Matsakis
7c2bbe811e add comments 2024-07-23 11:52:05 -04:00
Niko Matsakis
d0d05ec89c remove some visibility 2024-07-23 11:52:05 -04:00
Niko Matsakis
59dbfc2826 flatten module hierarchy 2024-07-23 11:52:05 -04:00
Niko Matsakis
61b1671b69 remove "debug_probe"
We are using "peek fields" methods instead;
I like that approach better.
2024-07-23 11:52:05 -04:00
Niko Matsakis
4e015483fe remove shared field and inline fields 2024-07-23 11:52:05 -04:00
Niko Matsakis
2f4f80fe23
Merge pull request #516 from davidbarsky/master
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (false, beta) (push) Has been cancelled
Test / Test (false, stable) (push) Has been cancelled
Test / Test (true, nightly) (push) Has been cancelled
Test / Miri (push) Has been cancelled
Book / Deploy (push) Has been cancelled
chore: use tracing instead of log
2024-07-23 09:22:50 +00:00
David Barsky
86f06d8485 chore: use tracing instead of log 2024-07-22 18:02:40 -04:00
Niko Matsakis
f5f21cf55e
Merge pull request #508 from MichaReiser/id-manual-debug-impl
Some checks are pending
Book / Book (push) Waiting to run
Book / Deploy (push) Blocked by required conditions
Test / Test (false, beta) (push) Waiting to run
Test / Test (false, stable) (push) Waiting to run
Test / Test (true, nightly) (push) Waiting to run
Test / Miri (push) Waiting to run
Manual `Debug` impl for `salsa::Id`
2024-07-22 19:57:21 +00:00
Niko Matsakis
b8bbf96056
Merge pull request #514 from MichaReiser/update-deps
Update `dashmap`, `hashlink`, and `rustc-hash`
2024-07-22 19:56:32 +00:00
Niko Matsakis
c8234e4fbf
Merge pull request #524 from PhoebeSzmucer/ps/accumulate-chain
Fix accumulator only accumulating direct children
2024-07-22 19:55:58 +00:00
Phoebe Szmucer
a85ac260d3 Add a more complex case 2024-07-22 20:12:54 +01:00
Micha Reiser
6975a47690
Replace derived Debug implementation of salsa::Id 2024-07-22 17:56:16 +02:00
Micha Reiser
151c48b402
Update dashmap, hashlink, and rustc-hash 2024-07-22 15:18:40 +02:00
Niko Matsakis
49a147a627
Update src/function/accumulated.rs 2024-07-22 06:59:39 -04:00
Niko Matsakis
431fd14b69
Merge pull request #523 from MichaReiser/tracked-fn-interned
Some checks are pending
Book / Book (push) Waiting to run
Book / Deploy (push) Blocked by required conditions
Test / Test (false, beta) (push) Waiting to run
Test / Test (false, stable) (push) Waiting to run
Test / Test (true, nightly) (push) Waiting to run
Test / Miri (push) Waiting to run
Allow interned values as tracked function arguments
2024-07-22 10:54:46 +00:00
Phoebe Szmucer
02008d51a7 Add a test, fix a bug, refactor 2024-07-22 11:52:55 +01:00
Phoebe Szmucer
c9f22f108a Use a stack and push to it in reverse order 2024-07-22 11:28:54 +01:00
Niko Matsakis
5f35a3529d
Merge pull request #512 from camelid/unit-update
Impl `Update` for unit type `()`
2024-07-22 09:27:09 +00:00
Niko Matsakis
0186e6696a
Merge pull request #511 from mbrobbel/fix-book-deploy-permissions
Add required book deploy permissions and add concurrency group
2024-07-22 09:26:27 +00:00
Niko Matsakis
d8bc223467
Merge pull request #522 from MichaReiser/no-eq
Respect `no_eq` attribute for tracked functions
2024-07-22 09:23:25 +00:00
Phoebe Szmucer
2d490e245a newline 2024-07-22 10:21:16 +01:00
Phoebe Szmucer
4543063f5a use a queue 2024-07-22 10:19:36 +01:00
Phoebe Szmucer
a20c6341ec Use Vec 2024-07-21 18:20:26 +01:00
Phoebe Szmucer
beedbd18e5 Refactor 2024-07-21 18:18:02 +01:00
Phoebe Szmucer
148e1cfecf Fix accumulator only accumulating direct children 2024-07-20 19:55:20 +01:00
Micha Reiser
9ba36ebf7e
Allow interned values as tracked function arguments 2024-07-20 09:03:57 +02:00
Micha Reiser
ba169ef039
Respct no_eq attribute for tracked functions 2024-07-20 08:47:51 +02:00
Niko Matsakis
1c69d3ba7b
Merge pull request #518 from nikomatsakis/lazy-ingredients
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (false, beta) (push) Has been cancelled
Test / Test (false, stable) (push) Has been cancelled
Test / Test (true, nightly) (push) Has been cancelled
Test / Miri (push) Has been cancelled
Book / Deploy (push) Has been cancelled
salsa the beautiful
2024-07-19 14:37:00 +00:00
Niko Matsakis
b59427c89f allow miri failures 2024-07-19 10:29:36 -04:00
Niko Matsakis
e8b467733f squelch most clippy warnings in generated code 2024-07-19 10:00:03 -04:00
Niko Matsakis
6066e0b536 clippy 2024-07-19 09:54:24 -04:00
Niko Matsakis
83de15ff3c satisfy the merciless cargo fmt 2024-07-19 09:51:24 -04:00
Niko Matsakis
634366f5fa squelch final warnings 2024-07-19 09:50:00 -04:00
Niko Matsakis
949828d942 remove unused delete method 2024-07-19 09:49:22 -04:00
Niko Matsakis
1133c72e77 require reset for new revisions 2024-07-19 09:49:08 -04:00
Niko Matsakis
e847929536 pacify the merciless clippy 2024-07-19 09:20:41 -04:00
Niko Matsakis
97b26e6a0c fix 2024-07-19 09:08:51 -04:00
Niko Matsakis
9a432cab31 pacify the merciless cargo fmt 2024-07-19 09:07:47 -04:00