-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 7 pull requests #108935
Rollup of 7 pull requests #108935
Commits on Jan 27, 2023
-
Relax ordering rules for
asm!
operandsThe `asm!` and `global_asm!` macros require their operands to appear strictly in the following order: - Template strings - Positional operands - Named operands - Explicit register operands - `clobber_abi` - `options` This is overly strict and can be inconvienent when building complex `asm!` statements with macros. This PR relaxes the ordering requirements as follows: - Template strings must still come before all other operands. - Positional operands must still come before named and explicit register operands. - Named and explicit register operands can be freely mixed. - `options` and `clobber_abi` can appear in any position.
Configuration menu - View commit details
-
Copy full SHA for 52f7a21 - Browse repository at this point
Copy the full SHA 52f7a21View commit details
Commits on Feb 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for be3452a - Browse repository at this point
Copy the full SHA be3452aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34c8708 - Browse repository at this point
Copy the full SHA 34c8708View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98d2669 - Browse repository at this point
Copy the full SHA 98d2669View commit details -
Configuration menu - View commit details
-
Copy full SHA for c044df2 - Browse repository at this point
Copy the full SHA c044df2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 524d140 - Browse repository at this point
Copy the full SHA 524d140View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf3683f - Browse repository at this point
Copy the full SHA cf3683fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e61ac42 - Browse repository at this point
Copy the full SHA e61ac42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c9d750 - Browse repository at this point
Copy the full SHA 6c9d750View commit details
Commits on Mar 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0f371ca - Browse repository at this point
Copy the full SHA 0f371caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e2f6c1 - Browse repository at this point
Copy the full SHA 7e2f6c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 832fede - Browse repository at this point
Copy the full SHA 832fedeView commit details
Commits on Mar 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 832b33e - Browse repository at this point
Copy the full SHA 832b33eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdeb0e3 - Browse repository at this point
Copy the full SHA cdeb0e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 219195f - Browse repository at this point
Copy the full SHA 219195fView commit details
Commits on Mar 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1ccb1de - Browse repository at this point
Copy the full SHA 1ccb1deView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1cf67b - Browse repository at this point
Copy the full SHA f1cf67bView commit details -
Prevent the
start_bx
basic block in codegen from having two `Builde……r`s at the same time
Configuration menu - View commit details
-
Copy full SHA for de2e16c - Browse repository at this point
Copy the full SHA de2e16cView commit details
Commits on Mar 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ef807cb - Browse repository at this point
Copy the full SHA ef807cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2040de - Browse repository at this point
Copy the full SHA a2040deView commit details
Commits on Mar 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 871b4fe - Browse repository at this point
Copy the full SHA 871b4feView commit details
Commits on Mar 9, 2023
-
Rollup merge of rust-lang#105798 - Amanieu:relax-asm, r=joshtriplett
Relax ordering rules for `asm!` operands The `asm!` and `global_asm!` macros require their operands to appear strictly in the following order: - Template strings - Positional operands - Named operands - Explicit register operands - `clobber_abi` - `options` This is overly strict and can be inconvienent when building complex `asm!` statements with macros. This PR relaxes the ordering requirements as follows: - Template strings must still come before all other operands. - Positional operands must still come before named and explicit register operands. - Named and explicit register operands can be freely mixed. - `options` and `clobber_abi` can appear in any position after the template strings. r? ```@joshtriplett```
Configuration menu - View commit details
-
Copy full SHA for bc50aff - Browse repository at this point
Copy the full SHA bc50affView commit details -
Rollup merge of rust-lang#106085 - fee1-dead-contrib:tidy-ci-matchers…
…, r=pietroalbini use problem matchers for tidy CI
Configuration menu - View commit details
-
Copy full SHA for b224fe5 - Browse repository at this point
Copy the full SHA b224fe5View commit details -
Rollup merge of rust-lang#106560 - bjorn3:support_staticlib_dylib_lin…
…king, r=pnkfelix Support linking to rust dylib with --crate-type staticlib This allows for example dynamically linking libstd, while statically linking the user crate into an executable or C dynamic library. For this two unstable flags (`-Z staticlib-allow-rdylib-deps` and `-Z staticlib-prefer-dynamic`) are introduced. Without the former you get an error. The latter is the equivalent to `-C prefer-dynamic` for the staticlib crate type to indicate that dynamically linking is preferred when both options are available, like for libstd. Care must be taken to ensure that no crate ends up being merged into two distinct staticlibs that are linked together. Doing so will cause a linker error at best and undefined behavior at worst. In addition two distinct staticlibs compiled by different rustc may not be combined under any circumstances due to some rustc private symbols not being mangled. To successfully link a staticlib, `--print native-static-libs` can be used while compiling to ask rustc for the linker flags necessary when linking the staticlib. This is an existing flag which previously only listed native libraries. It has been extended to list rust dylibs too. Trying to locate libstd yourself to link against it is not supported and may break if for example the libstd of multiple rustc versions are put in the same directory. For an example on how to use this see the `src/test/run-make-fulldeps/staticlib-dylib-linkage/` test.
Configuration menu - View commit details
-
Copy full SHA for 3bb8516 - Browse repository at this point
Copy the full SHA 3bb8516View commit details -
Rollup merge of rust-lang#108089 - Zoxc:windows-tls, r=wesleywiser
Support TLS access into dylibs on Windows This allows access to `#[thread_local]` in upstream dylibs on Windows by introducing a MIR shim to return the address of the thread local. Accesses that go into an upstream dylib will call the MIR shim to get the address of it. `convert_tls_rvalues` is introduced in `rustc_codegen_ssa` which rewrites MIR TLS accesses to dummy calls which are replaced with calls to the MIR shims when the dummy calls are lowered to backend calls. A new `dll_tls_export` target option enables this behavior with a `false` value which is set for Windows platforms. This fixes rust-lang#84933.
Configuration menu - View commit details
-
Copy full SHA for 4bb0b2b - Browse repository at this point
Copy the full SHA 4bb0b2bView commit details -
Rollup merge of rust-lang#108542 - bwmf2:expanded, r=wesleywiser
Force parentheses around `match` expression in binary expression This attempts to solve rust-lang#98790.
Configuration menu - View commit details
-
Copy full SHA for d02ed0a - Browse repository at this point
Copy the full SHA d02ed0aView commit details -
Rollup merge of rust-lang#108690 - Zoxc:query-size-limits, r=cjgillot
Place size limits on query keys and values This just prevents these from growing accidentally too large. I'm not sure if there's an easy way to also print the actual size too.
Configuration menu - View commit details
-
Copy full SHA for 80e1112 - Browse repository at this point
Copy the full SHA 80e1112View commit details -
Rollup merge of rust-lang#108739 - 823984418:patch-1, r=cjgillot
Prevent the `start_bx` basic block in codegen from having two `Builder`s at the same time Here, at the same time, there are two `start_llbb` builder, this should be unexpected.
Configuration menu - View commit details
-
Copy full SHA for ebfe8ac - Browse repository at this point
Copy the full SHA ebfe8acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4561b3b - Browse repository at this point
Copy the full SHA 4561b3bView commit details