Commit graph

1727 commits

Author SHA1 Message Date
David Barsky
134212ea32 internal: make salsa::Id::new pub, but #[doc(hidden)] 2024-12-03 16:17:13 +00:00
David Barsky
d4740ed72c feature: add id paramater to interned structs 2024-12-03 15:03:22 +00:00
David Barsky
0f379579fc feature: support interned structs without lifetimes 2024-11-25 15:16:13 -05:00
David Barsky
2c117755ca
Merge pull request #568 from salsa-rs/davidbarsky/push-lqummkkxvkzn
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
introduce parallel salsa
2024-11-25 17:31:28 +00:00
David Barsky
db7274ecb0 internal: ignore parallel tests under miri 2024-11-25 11:46:03 -05:00
David Barsky
5f0904ae4a introduce parallel salsa 2024-11-25 11:29:24 -05:00
David Barsky
3b7246ba9f chore: set MIRIFLAGS to -Zmiri-disable-isolation -Zmiri-retag-fields 2024-11-25 11:29:24 -05:00
Micha Reiser
32f8ee9cd4
Merge pull request #616 from MichaReiser/upgrade-codspeed
Some checks failed
Book / Book (push) Has been cancelled
Test / Test (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
Upgrade codspeed github action to v3
2024-11-20 08:19:52 +00:00
Micha Reiser
2a7a71d7b0
Upgrade codspeed github action to v3 2024-11-20 09:17:14 +01:00
David Barsky
e4d36daf2d
Merge pull request #612 from Veykril/veykril/push-lkqxvrqmzkoy
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
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
Emit struct in `#[tracked]` fn last for better IDE support
2024-11-07 15:48:43 +00:00
David Barsky
b0fafce5a5
Update components/salsa-macro-rules/src/setup_tracked_fn.rs 2024-11-07 10:36:02 -05:00
Lukas Wirth
842abe5c27 Emit struct in #[tracked] fn last for better IDE support 2024-11-02 18:01:59 +01:00
Lukas Wirth
dfbe6d67f4
Merge pull request #608 from gvozdvmozgu/update-impl-infallible
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
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
add impl `Update` for `std::convert::Infallible`
2024-10-27 08:03:21 +00:00
gvozdvmozgu
8662fc6694 add impl Update for std::convert::Infallible 2024-10-27 00:31:54 -07:00
Niko Matsakis
5eed7e9078
Merge pull request #604 from jhgg/proc-macro-friendliness-for-ra
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
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
salsa-macros: handle invalid inputs in a way friendlier to rust-analyzer
2024-10-25 11:59:24 +00:00
Niko Matsakis
b3b6286409
Merge pull request #606 from Veykril/veykril/push-wpzpkktutxso
Improve the span used for salsa struct constructors
2024-10-25 11:58:46 +00:00
Lukas Wirth
56b7a23f18 Improve the span used for salsa struct constructors 2024-10-25 12:59:55 +02:00
Jake
10d14f0131
fix cargo fmt 2024-10-24 16:47:44 -07:00
Jake
e0febd904a
salsa-macros: handle invalid inputs in a way friendlier to rust-analyzer 2024-10-24 16:37:28 -07:00
Niko Matsakis
254c749b02
Merge pull request #601 from salsa-rs/davidbarsky/push-pyyooxxxuqxx
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
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
chore: ensure salsa-macros have a licence
2024-10-17 22:26:43 +00:00
David Barsky
c3de24ce12 chore: ensure salsa-macros have a licence 2024-10-17 17:37:56 -04:00
Niko Matsakis
710691d607
Merge pull request #596 from ShoyuVanilla/issue-519
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
Test / Benchmarks (push) Waiting to run
fix: Inconsistent behaviour with lifetime elision on tracked fn
2024-10-17 14:55:02 +00:00
Niko Matsakis
82f2a7d1b9
Merge pull request #591 from puuuuh/typeid_mismatch_fix
Add IngredientIndex to KeyStruct
2024-10-17 14:53:39 +00:00
puuuuh
0744fd8cb0
Rename DisambiguationKey to IdentityHash, KeyStruct to Identity 2024-10-17 15:50:13 +03:00
Shoyu Vanilla
57f38aa84b fix: Inconsistent behaviour with lifetime elision on tracked fn 2024-10-17 01:02:32 +09:00
puuuuh
acae02d418
Use named struct for disambiguation key 2024-10-15 21:14:59 +03:00
puuuuh
60208fa80e
Fmt, lints 2024-10-15 21:14:58 +03:00
puuuuh
3029f8ccf3
Remove IngredientIndex from tracked_struct_ids, use KeyStruct field instead 2024-10-15 21:14:58 +03:00
puuuuh
53a3235a60
Add IngredientIndex to KeyStruct 2024-10-15 21:14:58 +03:00
David Barsky
c6c51a0ea0
Merge pull request #593 from ShoyuVanilla/issue-577
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
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
fix: Replace `SelfTy` with actual type in tracked methods
2024-10-15 14:33:54 +00:00
Micha Reiser
b14be5c039
Merge pull request #594 from gvozdvmozgu/add-box-str-lookup
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
Test / Benchmarks (push) Waiting to run
Add `Lookup<Box<T>>` for `&T`
2024-10-15 09:08:29 +00:00
gvozdvmozgu
b6592a8102 Add Lookup<Box<T>> for &T 2024-10-15 02:01:42 -07:00
Micha Reiser
cccb7a5d6d
Merge pull request #595 from gvozdvmozgu/fix-nightly-lint
fix new nightly lint: `clippy::unit_arg`
2024-10-15 06:53:38 +00:00
gvozdvmozgu
b074f882d9 fix new nightly lint: clippy::unit_arg 2024-10-14 18:22:52 -07:00
Niko Matsakis
0099b18a05
Merge pull request #589 from puuuuh/master
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
Test / Benchmarks (push) Waiting to run
Add a way to use reference-types in InternedStruct::new
2024-10-14 20:29:41 +00:00
Shoyu Vanilla
7e3426e7df Satisfy nightly clippy 2024-10-15 00:49:12 +09:00
Shoyu Vanilla
ad1f84d80f fix: Replace SelfTy with actual type in tracked methods 2024-10-14 02:00:28 +09:00
puuuuh
de95f497ce
fix fmt
Fix clippy warnings
2024-10-10 18:33:50 +03:00
puuuuh
01d7aab603
Remove obsolete type argument 2024-10-10 03:43:47 +03:00
puuuuh
514a31331b
Apply suggestions from code review
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2024-10-10 03:43:47 +03:00
puuuuh
e9ee280c10
Add impl for Lookup Vec via [A; N] 2024-10-10 03:43:47 +03:00
puuuuh
552b3ae979
Add impl Lookup for Path, Vec 2024-10-10 03:43:46 +03:00
puuuuh
22eafc213e
Apply suggestions from code review
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2024-10-10 03:43:46 +03:00
puuuuh
60b921f153
Update src/interned.rs
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2024-10-10 03:43:46 +03:00
puuuuh
dcdf4d774d
Update components/salsa-macro-rules/src/setup_interned_struct.rs
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2024-10-10 03:43:46 +03:00
puuuuh
1e18334672
Add way to intern structs from references 2024-10-10 03:43:40 +03:00
Micha Reiser
af2ec49d80
Merge pull request #588 from ibraheemdev/views-vtable
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
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
Rewrite `Views` to be Miri compatible
2024-10-09 17:34:46 +00:00
Micha Reiser
bd8227494d
Satisfy nighty clippy 2024-10-09 18:56:25 +02:00
Micha Reiser
862153ce87
Satisfy clippy 2024-10-09 18:51:30 +02:00
Ibraheem Ahmed
30f1813f44 rewrite Views to be Miri compatible 2024-10-03 17:10:35 -04:00