Niko Matsakis
30f122eaac
wip
2024-07-17 05:47:56 -04:00
Niko Matsakis
5963e118b9
wip
2024-07-17 05:33:51 -04:00
Niko Matsakis
8a39bf029b
wip
2024-07-16 06:04:01 -04:00
Niko Matsakis
612cec6703
wip
2024-07-15 20:29:36 -04:00
Niko Matsakis
fdc363b65f
wip
2024-07-15 07:46:23 -04:00
Niko Matsakis
57eb0c45b4
wip: iterate towards hello_world
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
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
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
4eaa4efdc5
Merge pull request #505 from mbrobbel/issue-504-deps
...
Remove some unused dependencies
2024-06-23 10:06:10 +00:00
Jack Rickard
db4c0de45c
Implement Update for Option<T>
2024-06-21 14:37:12 +01: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
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
0ad0be8095
pacify the merciless clippy
2024-05-30 08:40:18 -04:00
Niko Matsakis
e81b22315b
driveby: fix use of indexmap remove
...
We do care about the order of things in this
set, in general, so use `shift_remove`.
2024-04-02 06:30:53 -04: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
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
Niko Matsakis
95812f09d0
cargo fmt
2022-06-03 07:01:27 -04:00
Niko Matsakis
f91923c189
switch to Option<StampedValue>
for efficiency
2022-06-03 06:44:16 -04:00
Niko Matsakis
1cc649b5e4
store an Option to fix tests
2022-06-03 06:24:50 -04:00
Niko Matsakis
1e3c2f22aa
Expose the ability to remove the value from an input query, taking ownership of it
...
Co-authored-by: Tim Robinson <tim.g.robinson@gmail.com>
2022-06-03 05:52:00 -04:00
Niko Matsakis
f0231fb884
remove unused memo function
2022-03-14 18:35:33 -04:00
Niko Matsakis
e5fb61b367
when evicting LRU data, keep dep information
...
and add a test that we do so!
2022-03-14 18:27:44 -04:00
Niko Matsakis
37a188c9b7
remove dead struct
2022-01-21 14:16:14 -05:00
Niko Matsakis
ade6bcf2b1
check for cancellation more aggressively
2022-01-21 13:58:15 -05:00
Niko Matsakis
356392578b
new parallel friendly algorithm
2022-01-21 13:58:13 -05:00
Niko Matsakis
685fccc9c5
move to dash-map
...
Because dash-map isn't indexable, we need to store a copy of the
key and have two separate maps. I expect to iterate on the best
data structures here.
2022-01-21 13:56:16 -05:00
Niko Matsakis
c0d9070a64
refactor _mut
path to not take arc
...
Instead of grabbing the arc, just pass back an `&mut Runtime`.
The eventual goal is to get rid of the lock on the `set` pathway
altogether, but one step at a time.
2022-01-21 13:52:43 -05:00
Niko Matsakis
82d695b9a7
extract hashing definitions into a utility module
2022-01-21 13:49:50 -05:00
bors[bot]
2709ee4d10
Merge #288 #289
...
288: Make with_incremented_revision take FnOnce r=nikomatsakis a=mheiber
Removes a bug vector, since this function would
panic if the closure is used more than once.
iuc, the code opted out of the compiler's checks
before via a clever `.take()`.
Another change is to take the closure by value
rather than by reference. The monomorphization
seems harmless, since `with_incremented_revision`
is only called from two places.
289: Remove ': salsa::Database' bound from two examples r=nikomatsakis a=mheiber
Two examples had a superfluous bound
': salsa::Database' that wasn't present
in the `compiler` example and doesn't seem to be needed.
The `query_group` macro adds this bound
automatically.
This change can lead to a trailing `+` in
the bounds list. I verified this is OK by
running the examples and verifying that the production
is allowed
[per the Rust Reference](https://doc.rust-lang.org/reference/trait-bounds.html )
Co-authored-by: Maxwell Elliot Heiber <mheiber@fb.com>
2022-01-21 18:35:51 +00:00
Maxwell Elliot Heiber
befa3ddef5
Make with_incremented_revision take FnOnce
...
The function is morally an FnOnce, since if
called multiple times the function will panic.
iuc, the code opted out of the compiler's checks
before via a clever `.take()`.
Another change is to take the closure by value
rather than by reference. The monomorphization
seems harmless, since `with_incremented_revision`
is only called from two places.
2021-12-30 10:44:35 +00:00
Niko Matsakis
fc020de9c4
s/maybe_changed_since/maybe_changed_after/
2021-11-13 16:39:41 -05:00