]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #40702 - mrhota:global_asm, r=nagisa
authorCorey Farwell <coreyf@rwell.org>
Fri, 14 Apr 2017 21:41:03 +0000 (17:41 -0400)
committerGitHub <noreply@github.com>
Fri, 14 Apr 2017 21:41:03 +0000 (17:41 -0400)
Implement global_asm!() (RFC 1548)

This is a first attempt. ~~One (potential) problem I haven't solved is how to handle multiple usages of `global_asm!` in a module/crate. It looks like `LLVMSetModuleInlineAsm` overwrites module asm, and `LLVMAppendModuleInlineAsm` is not provided in LLVM C headers ðŸ˜¦~~

I can provide more detail as needed, but honestly, there's not a lot going on here.

r? @eddyb

CC @Amanieu @jackpot51

Tracking issue: #35119

1  2 
src/doc/unstable-book/src/SUMMARY.md
src/librustc_metadata/encoder.rs

Simple merge
Simple merge