Roman Titov
b4e42631b1
Fix WriteOrdering::Medium and WriteOrdering::Strong semantics ( #2053 )
...
`WriteOrdering::Medium` and `WriteOrdering::Strong` were swapped 馃ぁ
2023-06-19 15:21:04 +02:00
Tim Vis茅e
e11b519b76
Downgrade missing static folder error to warning ( #2054 )
...
Refs: https://github.com/qdrant/qdrant/pull/2046#issuecomment-1584445594
2023-06-19 15:20:58 +02:00
Arnaud Gourlay
ce9a51e665
Add debug info for flaky test Windows ( #2039 )
2023-06-19 15:20:50 +02:00
dependabot[bot]
a37a4b4290
Bump serde from 1.0.163 to 1.0.164 ( #2050 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.163 to 1.0.164.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.163...v1.0.164 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 15:20:46 +02:00
dependabot[bot]
a1223aaa97
Bump memmap2 from 0.6.2 to 0.7.0 ( #2049 )
...
Bumps [memmap2](https://github.com/RazrFalcon/memmap2-rs ) from 0.6.2 to 0.7.0.
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RazrFalcon/memmap2-rs/compare/v0.6.2...v0.7.0 )
---
updated-dependencies:
- dependency-name: memmap2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 15:20:40 +02:00
Andrey Vasnetsov
ab7ab03a32
Fix batch request with duplicated filter ( #2051 )
...
* fix double usage of iterator
* tests
2023-06-19 15:20:35 +02:00
Arnaud Gourlay
98831c091e
Better error reporting for missing static folder ( #2046 )
...
* Better error reporting for missing static folder
* only one error
2023-06-19 15:20:25 +02:00
dependabot[bot]
458f881482
Bump sysinfo from 0.29.0 to 0.29.2 ( #2043 )
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.29.0 to 0.29.2.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 15:20:20 +02:00
dependabot[bot]
abebe5fb24
Bump tempfile from 3.5.0 to 3.6.0 ( #2042 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.5.0 to 3.6.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.5.0...v3.6.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 15:18:39 +02:00
Tim Vis茅e
1fdb55cd02
Bump requests from 2.28.1 to 2.31.0 in /openapi/tests ( #1945 )
...
* Bump requests from 2.28.1 to 2.31.0 in /openapi/tests
Bumps [requests](https://github.com/psf/requests ) from 2.28.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.28.1...v2.31.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix requests update
* reinstate buildx
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arnaud Gourlay <arnaud.gourlay@gmail.com>
2023-06-19 15:18:34 +02:00
Arnaud Gourlay
d7c3f8b9d2
merge integration binaries (storage) ( #2038 )
2023-06-19 15:18:24 +02:00
Luis Coss铆o
ce3a108312
Lookup: expose feature to REST and gRPC interfaces ( #2011 )
...
* rename `Lookup` -> `RetrievedLookup`
* feat: expose lookup in groups
- make `with_vectors` and `with_payload` optional
- include in grpc
- move GroupId to inside of PointGroup message
- include `WithLookup` inside of `GroupRequest`, doesn't make sense to keep them separated
* chore: remove allow(dead_code) from builder
* feat: introduce `WithLookupInterface` to allow specifying only the name of the lookup collection
* fix: WithLookupInterface with collection name only brings all payload and vectors
* fix: update grpc docs
* add tests and set better defaults
* remove `RetrievedLookup` from proto
* short-circuit `fill_search_result_with_payload` when it's not needed
* cargo fmt
* proto: revert putting `GroupId` inside `PointGroup`
* update grpc docs
* Remove WithLookupInterface sugar from grpc
- set with_vectors of lookup default to false
- set with_payload of lookup default to true
* update integration tests
* use singular lookup
---------
Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
2023-06-19 15:18:19 +02:00
Arnaud Gourlay
5303b8f6a7
merge integration binaries (collection) ( #2037 )
2023-06-19 15:18:13 +02:00
Arnaud Gourlay
79e6a2ae2e
merge integration binaries (segment) ( #2033 )
2023-06-19 15:18:04 +02:00
Tim Vis茅e
8797df02d4
Don't store version of temp segment until payload indices are converted ( #1913 )
2023-06-19 15:17:42 +02:00
Andrey Vasnetsov
16ddb98134
Web UI integration ( #2009 )
...
* wip: integrate UI web interface
* fmt
* Api key exclusion rule + fixes
* upd welcome url
* rollback api key in config
2023-06-19 15:00:30 +02:00
Arnaud Gourlay
dacbde54f9
Fix flaky test: Wait for node to go down ( #2029 )
2023-06-19 14:54:35 +02:00
dependabot[bot]
edf8720d3c
Bump clap from 4.3.1 to 4.3.2 ( #2028 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.3.1...v4.3.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:54:30 +02:00
dependabot[bot]
0ff0508dd2
Bump indicatif from 0.17.4 to 0.17.5 ( #2027 )
...
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.4 to 0.17.5.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.4...0.17.5 )
---
updated-dependencies:
- dependency-name: indicatif
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:54:25 +02:00
dependabot[bot]
725b25a451
Bump url from 2.3.1 to 2.4.0 ( #2026 )
...
Bumps [url](https://github.com/servo/rust-url ) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.3.1...v2.4.0 )
---
updated-dependencies:
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:54:20 +02:00
dependabot[bot]
b9e9f66207
Bump lukemathwalker/cargo-chef ( #2025 )
...
Bumps lukemathwalker/cargo-chef from latest-rust-1.69.0 to latest-rust-1.70.0.
---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:54:15 +02:00
SunisDown
96678ff28d
fix: validate collection name while creating collection ( #1990 )
...
* fix: validate collection name while creating collection
* fix: validate collection name for Windows
* Use simpler method for checking if collection name contains illegal char
* Add strict collection name validation to gRPC create collection
* Add strict collection name validation to REST create collection
* Add validation error rendering for does_not_contain
* Remove collection name validation from storage internals
* Add some test cases for stricter collection name validation
* Revert ToC changes
---------
Co-authored-by: timvisee <tim@visee.me>
2023-06-19 14:54:10 +02:00
Andrey Vasnetsov
7b9c8e62f1
revert extensive validation ( #2021 )
2023-06-19 14:54:03 +02:00
Andrey Vasnetsov
b0162fef90
Fix wal clamp ( #2022 )
...
* fix wal clamp
* fmt
* plus one
* upd the wal deps
2023-06-19 14:53:55 +02:00
Roman Titov
324274866b
Add prefault_mmap_pages method to the GraphLinksMmap ( #1791 ) ( #2012 )
...
* Add `prefault_mmap_pages` method to the `HNSWIndex`
* Add name to the thread spawned by `Segment::prefault_mmap_pages`
2023-06-19 14:53:50 +02:00
Tim
a048be2217
Fix warnings pointed out by cargo doc ( #1997 )
2023-06-19 14:53:44 +02:00
dependabot[bot]
5a69a58d7b
Bump clap from 4.3.0 to 4.3.1 ( #2020 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.3.0...clap_complete-v4.3.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:53:36 +02:00
Luis Coss铆o
da78899bab
Lookup: add lookup feature to group_by ( #1996 )
...
* feat: add GroupBy builder
- move PointGroup to `collection` crate
- make GroupBy struct to add lookup feature in a builder pattern
* test: add happy GroupBy tests
- restructure grouping tests into own file
- fix GroupId precedence of i64 vs u64
* update openapi schema
* fix rebase
* tests: minor refactor
* refactor: integrate lookup params into GroupRequest
- rename `Lookup` -> `RetrievedLookup`
- rename `LookupRequest` -> `WithLookup`
* fix: rename `lookup` -> `with_lookup` and set options on tests
- use @timvisee 's suggestion on builder.rs
* refactor: remove `RetrievedLookup` enum
* update openapi
2023-06-19 14:53:31 +02:00
Arnaud Gourlay
d1afe17ffe
Cluster operation coalescing channel requires only one message ( #2008 )
2023-06-19 14:53:21 +02:00
Roman Titov
8666bc8024
Implement Segment::prefault_mmap_pages method ( #1791 ) ( #1912 )
...
* WIP: Implement simple `MMAP_POPULATE`/`MADV_WILLNEED` test/benchmark
* WIP: Implement memmapped file disk-cache preheat
* Implement memmapped file disk-cache preheat using global worker
* Implement memmapped file disk-cache preheat using explicitly propagated worker
* Implement memmapped file disk-cache preheat using global lock
* Simplify `preheat_disk_cache` implementation
* Revert few unnecessary changes
* Rename `preheat_disk_cache` to `prefault_mmap_pages`
* Simplify iteration in `prefault_mmap_pages` with `slice::chunks` (thanks, @timvisee!)
* Switch logs in `prefault_mmap_pages` from `debug` to `trace`
2023-06-19 14:53:11 +02:00
Tim Vis茅e
794fa9d724
Log better TLS and REST/gRPC start errors ( #2004 )
...
* Add tls directory to .gitignore
* Add error type to certificate helpers
* Log REST and gRPC server errors
* Cleanup
* Rename log_err to log_err_if_any
* Add distinction between no and invalid private key
2023-06-19 14:53:03 +02:00
dependabot[bot]
718e5eee08
Bump chrono from 0.4.25 to 0.4.26 ( #2005 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.25 to 0.4.26.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.25...v0.4.26 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:52:57 +02:00
Roman Titov
291be89400
Extend SerdeWal to better track the last truncated-to WAL index ( #1815 ) ( #1868 )
...
* Skip applied WAL operations on shard load
* fixup! Skip applied WAL operations on shard load
- Skip WAL operation up to the *minimal* persisted version
- Add explanation comment
* fixup! Skip applied WAL operations on shard load
- "beautify" `skip_while` expression
- handle version `0` corner case (and add explanation)
* Update `Segment::handle_version` comment
* Simplify `Segment::handle_version` a bit
* Refactor `check_unprocessed_points`
* fixup! Refactor `check_unprocessed_points`
Optimized `check_unprocessed_points`
* Revert `LocalShard::load_from_wal` and `check_unprocessed_points` changes
* Downgrade failure in `check_unprocessed_points` to a warning
* Persist/track the first un-truncated index in `SerdeWal`...
...and use it as first index for WAL operations
* fixup! Downgrade failure in `check_unprocessed_points` to a warning
Downgrade failure in `check_unprocessed_points` to a warning *during `LocalShard::load_from_wal`* 馃檲
* fixup! Persist/track the first un-truncated index in `SerdeWal`...
Words...
* Fix a bug in `SerdeWal::truncated_prefix_entries_num` and add explanation comment
* Fix a bug in `SerdeWal::ack`
* prevent unnesessary savings, use json, never decrease ack index
---------
Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
2023-06-19 14:52:43 +02:00
Tim Vis茅e
77921a3a68
Update Cargo.toml, specify license and other things ( #1943 )
...
* Add Apache 2.0 license to crates
* Remove cargo reference comments
* Use consistent authors list in crates
* Specify README, homepage and repository links in root crate
* Update authors
2023-06-19 14:52:21 +02:00
Luis Coss铆o
0f4626b3a0
Lookup internals ( #1981 )
...
* feat: add lookup_ids function
- rename GroupId -> PseudoId
- impl try_from PseudoId to PointIdType
- create lookup_ids function
- add tests
* fix: keep `GroupId` name in the openapi schema
* refactor: make new type for PseudoId
* refactor: make new `Lookup` output for lookup_ids()
* changes from review, thanks @agourlay
2023-06-19 14:46:58 +02:00
Arnaud Gourlay
1dd7e45113
Coalesce cluster operation to fix dropped callback ( #2003 )
2023-06-19 14:46:28 +02:00
Luis Coss铆o
fb1a48556e
docs: update roadmap with quantization ( #1961 )
...
* check quantization goals
* , and
2023-06-19 14:46:20 +02:00
Tim Vis茅e
91de35f08f
Update memmap2 to remove Windows specific edge case ( #1964 )
...
* Bump memmap2 to 0.6.2
* Remove empty mmap edge case handling for Windows, now fixed in memmap2
2023-06-19 14:46:06 +02:00
Kaya G枚kalp
1b2e85b180
ci: move from actions-rs to dtolnay/rust-toolchain ( #1995 )
2023-06-19 14:45:56 +02:00
dependabot[bot]
831200fbd8
Bump reqwest from 0.11.17 to 0.11.18 ( #1999 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.17 to 0.11.18.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.17...v0.11.18 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:45:40 +02:00
llogiq
403162125a
Migrate from OpenSSL to Rustls ( #1865 )
...
* Migrate from OpenSSL to Rustls
* Add TTL based certificate rotation for Rustls in actix
See: <https://github.com/qdrant/qdrant/pull/1865#issuecomment-1539752859 >
* Update last update time when certificate is replaced
* Update error message
* Add option to disable certificate TTL, add TTL validation
* Cleanup
* Update comment for service.enable_tls, also enables TLS for gRPC
* Apply suggestions from code review
Co-authored-by: Roman Titov <ffuugoo@users.noreply.github.com>
* Move with_buf_read into certificate_helpers, it is used there
Co-authored-by: Roman Titov <ffuugoo@users.noreply.github.com>
* Remove level of scoping
* Add TLS enabled/disabled log messages
---------
Co-authored-by: timvisee <tim@visee.me>
Co-authored-by: Tim Vis茅e <tim+github@visee.me>
Co-authored-by: Roman Titov <ffuugoo@users.noreply.github.com>
2023-06-19 14:45:30 +02:00
dependabot[bot]
99c3592f9b
Bump tokio from 1.28.1 to 1.28.2 ( #1985 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.28.1 to 1.28.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.1...tokio-1.28.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:38:39 +02:00
dependabot[bot]
09aa368984
Bump criterion from 0.5.0 to 0.5.1 ( #1982 )
...
Bumps [criterion](https://github.com/bheisler/criterion.rs ) from 0.5.0 to 0.5.1.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.5.0...0.5.1 )
---
updated-dependencies:
- dependency-name: criterion
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:38:35 +02:00
dependabot[bot]
78eb5ced8e
Bump lukemathwalker/cargo-chef ( #1984 )
...
Bumps lukemathwalker/cargo-chef from latest-rust-1.68.1 to latest-rust-1.69.0.
---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:38:31 +02:00
dependabot[bot]
60112c6629
Bump indicatif from 0.17.3 to 0.17.4 ( #1986 )
...
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.3 to 0.17.4.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.3...0.17.4 )
---
updated-dependencies:
- dependency-name: indicatif
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:38:19 +02:00
dependabot[bot]
596aa03089
Bump log from 0.4.17 to 0.4.18 ( #1988 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.17 to 0.4.18.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.17...0.4.18 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:38:15 +02:00
dependabot[bot]
a05326c3cc
Bump chrono from 0.4.24 to 0.4.25 ( #1987 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.24 to 0.4.25.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.24...v0.4.25 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:38:11 +02:00
Roman Titov
8215410411
Add optional tracing support ( #1708 )
...
* Add optional `tracing` support
TODO:
- add documentation
* Add explicit compile-time check for `--cfg tokio_unstable` rust flags...
...if `console-subscriber` feature is enabled
* Add basic documentation
* fixup! Add basic documentation
Add links, reworded few phrases and document `tracing` feature
* fixup! fixup! Add basic documentation
- Fix `tokio-tracing` link
* fixup! Add basic documentation
Too much code-blocks...
* Move tracing setup into a separate function
* fixup! Move tracing setup into a separate function
- move tracing setup to a separate file
- fix error handling
* fixup! Move tracing setup into a separate function
Add missing file 馃檲
2023-06-19 14:38:05 +02:00
Arnaud Gourlay
034c380f2a
Fix gRPC doc for shard_number ( #1979 )
2023-06-19 14:37:59 +02:00
Roman Titov
5e2d6ac58b
Refactor Dockerfile ( #1594 )
...
* Refactor Dockerfile
- fix cross-compilation
- improve caching
TODO:
- check if `lld` is used/works for linkage (and enable if not used, or remove if doesn't work)
* Remove `aarch64` linker config from `.cargo/config.toml` (seems to be unnecessary)
* Expose `LINKER` argument and enable `lld` linker
* Add `mold` linker support
* Document Dockerfile
* Add closing ` in the Dockerfile comments
Co-authored-by: Tim Vis茅e <tim+github@visee.me>
---------
Co-authored-by: Tim Vis茅e <tim+github@visee.me>
2023-06-19 14:37:53 +02:00