Commit graph

1449 commits

Author SHA1 Message Date
Niko Matsakis
612cec6703 wip 2024-07-15 20:29:36 -04:00
Niko Matsakis
4769e32d44 wip 2024-07-15 07:51:40 -04:00
Niko Matsakis
fdc363b65f wip 2024-07-15 07:46:23 -04:00
Niko Matsakis
57eb0c45b4 wip: iterate towards hello_world
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
2024-07-14 13:49:59 -04:00
Niko Matsakis
231dc4f713 wip: inputs 2024-07-14 13:36:30 -04:00
Niko Matsakis
b72add2df8 wip 2024-07-13 11:44:17 -04:00
Niko Matsakis
4c998c78e4 wip 2024-07-13 11:41:19 -04:00
Niko Matsakis
91cd757a90 macro for tracked struct 2024-07-13 07:56:14 -04:00
Niko Matsakis
a4e550065f autogenerate interned case 2024-07-13 07:01:31 -04:00
Niko Matsakis
dde7341f97 create macro-rules macros to encapsulate output
This is a new idea for how to manage procedural
macros, which I kind of hate.
2024-07-13 05:45:22 -04:00
Niko Matsakis
d666744704 manually expanded code 2024-07-12 07:51:33 -04:00
Niko Matsakis
73b8134345 WIP checkpoint 2024-07-12 07:51:28 -04:00
Niko Matsakis
15106ff8ea reorganize plumbing 2024-07-12 07:11:31 -04:00
Niko Matsakis
65118a0fe6 Send + Sync requirements 2024-07-12 05:59:47 -04:00
Niko Matsakis
a1651c89d9 WIP 2024-07-11 21:35:37 -04:00
Niko Matsakis
2cfb75837b WIP 2024-07-11 07:30:26 -04:00
Niko Matsakis
15d5f213c5 WIP 2024-07-11 06:22:02 -04:00
Niko Matsakis
99ac6e89ef WIP adopt concurrent-vec 1.10 2024-07-11 05:47:18 -04:00
Niko Matsakis
c84bd1b5c2 WIP new approach with upcasts 2024-07-10 08:13:00 -04:00
Niko Matsakis
fe1b06a48a WIP-- checkpoint, dynamic jars 2024-07-08 06:25:32 -04:00
Niko Matsakis
380b19cc39 remove debug_name from function ingredients 2024-07-06 08:42:15 -04:00
Niko Matsakis
aaf8f0bf4f remove debug_name field from interned 2024-07-06 08:40:09 -04:00
Niko Matsakis
204f4eea6f move struct debug name to Configuration 2024-07-06 08:34:59 -04:00
Niko Matsakis
e1920bdda6 require databases and ingredients to be static 2024-07-06 08:15:27 -04:00
Niko Matsakis
a1bf3a613f
Merge pull request #507 from mbrobbel/remove-bors-update-ci
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
Remove `bors.toml` and update GitHub Actions
2024-06-23 10:11:23 +00:00
Niko Matsakis
4eaa4efdc5
Merge pull request #505 from mbrobbel/issue-504-deps
Remove some unused dependencies
2024-06-23 10:06:10 +00:00
Niko Matsakis
091421b839
Merge pull request #510 from Skepfyr/update-option
Implement Update for Option<T>
2024-06-23 10:03:00 +00:00
Jack Rickard
db4c0de45c
Implement Update for Option<T> 2024-06-21 14:37:12 +01:00
Matthijs Brobbel
396c4a4073
Also remove env_logger 2024-06-20 17:03:02 +02:00
Matthijs Brobbel
70976c2ea3
Remove bors.toml and update GitHub Actions 2024-06-19 22:31:02 +02:00
Niko Matsakis
f706aa2d32
Merge pull request #502 from nikomatsakis/update-sets-and-maps
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
implement Update trait for sets/maps
2024-06-19 10:08:14 +00:00
Niko Matsakis
7c36154b36 drive by fix for some clippy warnings 2024-06-19 05:59:58 -04:00
Niko Matsakis
2abdd3f2d5 implement Update trait for sets/maps 2024-06-19 05:59:58 -04:00
Matthijs Brobbel
38070130a8
Remove some unused dependencies 2024-06-19 11:55:18 +02:00
Niko Matsakis
38a44eef87
Merge pull request #501 from mbrobbel/remove-old-salsa
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
Remove the old Salsa, rename `salsa-2022` crate to `salsa`
2024-06-19 09:45:11 +00:00
Matthijs Brobbel
d65914b9ad
Merge branch 'master' into remove-old-salsa 2024-06-18 13:00:17 +02:00
Niko Matsakis
2c7cda5a8d
Merge pull request #499 from camelid/input-mut
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
book: Creating inputs no longer requires `&mut dyn Db`
2024-06-18 10:52:14 +00:00
Matthijs Brobbel
d0e9b79e6a
Remove references to old selection example 2024-06-18 10:39:26 +02:00
Matthijs Brobbel
a0d7b0ee55
Fix book deployment 2024-06-18 10:35:36 +02:00
Matthijs Brobbel
0f2d5a516c
More book updates and a compile fail test fix 2024-06-18 10:03:53 +02:00
Matthijs Brobbel
b3838b1ca7
Update book 2024-06-18 09:59:17 +02:00
Matthijs Brobbel
5ba40cf36c
Fix CI and examples 2024-06-18 09:52:37 +02:00
Matthijs Brobbel
c7851112a5
Rename salsa-2022 to salsa 2024-06-18 09:40:21 +02:00
Matthijs Brobbel
db75ae00a2
Remove old salsa 2024-06-18 09:25:26 +02:00
Niko Matsakis
56eb9c21e1
Merge pull request #500 from camelid/syn-feature
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
Add missing `syn` feature requirement
2024-06-17 21:33:10 +00:00
Noah Lev
19b40c377f Add missing syn feature requirement
With the latest commit (283ccda), any project that uses Salsa hits tons
of internal errors within Salsa. That's because Salsa needs syn's `full`
feature, which was removed from the Cargo.toml as part of the Salsa 3.0
mega-PR. Because Salsa 1.0 still has the `full` feature in its
Cargo.toml, Cargo implicitly still enables `full` for Salsa 2022, and
thus the Salsa 2022 example projects compile fine -- even though any
external code using Salsa does not.
2024-06-17 13:36:37 -07:00
Noah Lev
5b99535837 book: Creating inputs no longer requires &mut dyn Db
This was changed in #404.
2024-06-17 13:09:19 -07:00
Niko Matsakis
283ccda940
Merge pull request #490 from nikomatsakis/salsa-30-new-update-regime
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
salsa 3.0
2024-06-17 12:30:42 +00:00
Niko Matsakis
1544ee97ce
Apply suggestions from code review
Co-authored-by: Micha Reiser <micha@reiser.io>
Co-authored-by: Ryan Cumming <etaoins@gmail.com>
Co-authored-by: David Barsky <me@davidbarsky.com>
2024-06-15 06:09:10 -04:00
Niko Matsakis
ab9aa3ac08 WIP: start writing a safety chapter
Still debating the best structure, so the contents
are rather scattershot.

I may have found a hole, but it's...obscure
and I'm comfortable with it for the time being,
though I think we want to close it eventually.
2024-06-13 08:05:16 -04:00