Commit Graph

222082 Commits

Author SHA1 Message Date
alnyan 957d3dec43 alnyan/yggdrasil: implement binary resolution from PATH 2023-11-14 14:54:35 +02:00
alnyan 3668bbdf3a alnyan/yggdrasil: [unsafe] make env writable 2023-11-14 14:39:15 +02:00
alnyan eea1569466 alnyan/yggdrasil: update rt commit 2023-11-14 12:27:25 +02:00
alnyan 6e4718e6cd alnyan/yggdrasil: add support for process env 2023-11-14 12:27:02 +02:00
alnyan d3a8b67604 alnyan/yggdrasil: change how args are passed from the kernel 2023-11-14 11:51:31 +02:00
alnyan 44a0cc2a48 alnyan/yggdrasil: add support for x86_64 2023-11-04 15:38:27 +02:00
alnyan 7f5344419b alnyan/yggdrasil: implement basic signal handling 2023-07-27 16:26:22 +03:00
alnyan f64dcb305b alnyan/yggdrasil: Process::kill + basic signal handling 2023-07-25 16:11:34 +03:00
alnyan 1390823c9c alnyan/yggdrasil: process spawn + wait 2023-07-25 10:48:44 +03:00
alnyan 4621c13b78 alnyan/yggdrasil: implement file seek 2023-07-22 17:37:08 +03:00
alnyan 19819a25a2 alnyan/yggdrasil: implement most of directory/fileattr 2023-07-22 16:21:07 +03:00
alnyan f3735a19c6 alnyan/yggdrasil: directory read implementation 2023-07-22 00:40:31 +03:00
alnyan d5da273762 alnyan/yggdrasil: implement Stdin 2023-07-20 18:13:07 +03:00
alnyan 198f3e254b alnyan/yggdrasil: cleanup ABI OpenOptions 2023-07-20 15:41:27 +03:00
alnyan 7a442f76a6 alnyan/yggdrasil: implement mount/unmount system calls 2023-07-20 12:38:12 +03:00
alnyan e137e6480a alnyan/yggdrasil: add linker script for yggdrasil target 2023-07-19 21:59:38 +03:00
alnyan ba03bb87b6 alnyan/yggdrasil: temporary hack: don't auto-checkout yggdrasil-rt 2023-07-18 23:32:45 +03:00
alnyan 6eee868877 alnyan/yggdrasil: add NotImplemented error 2023-07-18 23:20:48 +03:00
alnyan d3296ec5f6 alnyan/yggdrasil: add ABI as a symlink 2023-07-18 18:57:25 +03:00
alnyan 3d580a2b02 alnyan/yggdrasil: add yggdrasil-rt as a submodule 2023-07-18 18:50:39 +03:00
alnyan 0a15cff03f alnyan/yggdrasil: File open/read/write 2023-07-18 17:43:04 +03:00
alnyan 8b39059da8 alnyan/yggdrasil: add args implementation 2023-07-17 22:54:43 +03:00
alnyan defb036456 alnyan/yggdrasil: add thread module 2023-07-17 20:36:34 +03:00
alnyan 22228b3aa5 alnyan/yggdrasil: Initial operational capacity 2023-07-17 20:14:33 +03:00
bors 90c541806f Auto merge of #112145 - wesleywiser:backport_112070, r=Mark-Simulacrum
Backport of #112070

Backports #112070 to stable

r? `@Mark-Simulacrum`
2023-05-31 19:26:05 +00:00
lcnr 4930c02c00 add FIXME 2023-05-31 12:41:45 -04:00
lcnr c30ed50fe6 add tests 2023-05-31 12:41:44 -04:00
lcnr 09571d448a unique borrows are mutating uses 2023-05-31 12:41:44 -04:00
bors d332def19c Auto merge of #112107 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum
[stable] 1.70.0 (backport)

Backport https://github.com/rust-lang/rust/pull/112026 into 1.70.0 stable. Will rebuild dev-static artifacts after this gets built.

r? `@Mark-Simulacrum`
2023-05-30 16:04:40 +00:00
Ben Kimock 8fc89a21d0 Exclude Rvalue::AddressOf for raw pointer deref alignment checks 2023-05-30 11:15:16 -04:00
Ben Kimock 655516b5a4 Add a test for misaligned pointer derefs inside addr_of! 2023-05-30 11:15:16 -04:00
bors 8b07c8821b Auto merge of #112067 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum
[stable] Prepare 1.70.0 release

r? `@Mark-Simulacrum`
2023-05-29 17:12:17 +00:00
Ryan Levick 7cfea71beb Use the standard macOS CI runner 2023-05-29 13:11:12 -04:00
Mark Rousskov ebe9af7c7a Prepare 1.70.0 release 2023-05-29 10:38:03 -04:00
bors 2687f47c4e Auto merge of #111971 - cuviper:beta-next, r=cuviper
[beta] backport

- Dont check `must_use` on nested `impl Future` from fn #111491
- fix recursion depth handling after confirmation #111754

r? cuviper
2023-05-26 00:49:44 +00:00
lcnr f2e37f7bcd add test
(cherry picked from commit c5ec1b8bc5)
2023-05-25 17:18:46 -07:00
lcnr a365f58bf6 update recursion depth in confirm_candidate
(cherry picked from commit 1708ad65a4)
2023-05-25 17:14:15 -07:00
Michael Goulet 1a42cb7fff Dont check must_use on nested impl Future from fn
(cherry picked from commit 926e874fd1)
2023-05-25 17:14:11 -07:00
bors 16ec1c0a80 Auto merge of #111776 - cuviper:beta-next, r=cuviper
[beta] backport

- debuginfo: split method declaration and definition #111167
- Encode VariantIdx so we can decode ADT variants in the right order #111494
- Simplify find_width_of_character_at_span. #111560

r? cuviper
2023-05-20 02:00:26 +00:00
Mara Bos 7a0af0973c Simplify find_width_of_character_at_span.
(cherry picked from commit 6289c57dc0)
2023-05-19 17:14:44 -07:00
Michael Goulet 8b7deda58d Encode VariantIdx so we can decode variants in the right order
(cherry picked from commit ff54c801f0)
2023-05-19 17:14:22 -07:00
Josh Stone ec1d458777 debuginfo: split method declaration and definition
When we're adding a method to a type DIE, we only want a DW_AT_declaration
there, because LLVM LTO can't unify type definitions when a child DIE is a
full subprogram definition. Now the subprogram definition gets added at the
CU level with a specification link back to the abstract declaration.

(cherry picked from commit 10b69dde3f)
2023-05-19 17:01:39 -07:00
bors 2013813b65 Auto merge of #111290 - Mark-Simulacrum:beta-backport, r=Mark-Simulacrum
[beta] backport

This PR backports:

- #111015: Remove wrong assertion in match checking.
- #110917: only error combining +whole-archive and +bundle for rlibs
- #111201: bootstrap: add .gitmodules to the sources

r? `@Mark-Simulacrum`
2023-05-07 20:10:35 +00:00
Krasimir Georgiev c11cc10558 bootstrap: add .gitmodules to the sources
The bootstrap builder now expects this file to exist:
https://github.com/rust-lang/rust/blob/6f8c0557e0b73c73a8a7163a15f4a5a3feca7d5c/src/bootstrap/builder.rs#L494
2023-05-06 11:14:42 -04:00
Be Wilson 428ac2a66e only error with +whole-archive,+bundle for rlibs
Fixes https://github.com/rust-lang/rust/issues/110912

Checking `flavor == RlibFlavor::Normal` was accidentally lost in
601fc8b36b
https://github.com/rust-lang/rust/pull/105601

That caused combining +whole-archive and +bundle link modifiers on
non-rlib crates to fail with a confusing error message saying that
combination is unstable for rlibs. In particular, this caused the
build to fail when +whole-archive was used on staticlib crates, even
though +whole-archive effectively does nothing on non-bin crates because
the final linker invocation is left to an external build system.
2023-05-06 11:12:53 -04:00
Camille GILLOT 7fc63a62ee Remove wrong assertion. 2023-05-06 11:12:48 -04:00
bors cc38d9fe09 Auto merge of #111180 - weihanglo:update-beta-cargo, r=weihanglo
[beta] Update cargo

2 commits in 84b7041fd2745ee6b3b4a150314f81aabb78e6b2..ec8a8a0cabb0e0cadef58902470f6c7ee7868bdc
2023-04-13 20:08:40 +0000 to 2023-04-25 19:46:25 +0000
- [beta-1.70] backport add the Win32_System_Console feature (rust-lang/cargo#12038)
- [beta-1.70] Backport not_found_permutations test fix. (rust-lang/cargo#11983)

r? `@ghost`
2023-05-05 02:00:31 +00:00
Weihang Lo dd253c0be1 [beta] Update cargo 2023-05-04 09:22:28 +01:00
bors 071f14baae Auto merge of #110871 - cuviper:beta-next, r=cuviper
[beta] backport

This PR backports:

- Encode def span for ConstParam #110425
- Update to LLVM 16.0.2 #110535
- Encode lifetime param spans too #110469
- make sysroot finding compatible with multiarch systems #110281
- Update awscli #110952
- Temporarily disable the jobserver-error test #110361

Also bumps us to the latest released stable, 1.69.0.

r? `@cuviper`
2023-04-30 03:45:19 +00:00
Eric Huss 4e2f52c516 Temporarily disable the jobserver-error test
(cherry picked from commit 79b3af3f62)
2023-04-29 09:53:08 -07:00