Misc
- 6 - shino/cas accidental tb (?)
- 15 - cas takes a tb
- 19 - bad takes a tb
- 24 - ruu takes tb
- 25 - threat mixup, shino takes living liquid in middle
- 34 - karasu and tiny both take both waves of protean 1
- 39 - ruu takes tb
- 47 - [tiny pus
(func $a) | |
(elem declare funcref) | |
(elem declare funcref (ref.func $a)) |
(module | |
(func | |
unreachable | |
i32.const 0 | |
select | |
block (param i32) | |
unreachable | |
end)) |
(module | |
;; 64 random types to force the block type below to get encoded as sleb | |
(func (param f32 f32 f32 f32 f32 f32)) | |
(func (param i32 f32 f32 f32 f32 f32)) | |
(func (param f32 i32 f32 f32 f32 f32)) | |
(func (param i32 i32 f32 f32 f32 f32)) | |
(func (param f32 f32 i32 f32 f32 f32)) | |
(func (param i32 f32 i32 f32 f32 f32)) | |
(func (param f32 i32 i32 f32 f32 f32)) | |
(func (param i32 i32 i32 f32 f32 f32)) |
#include <assert.h> | |
#include <git2/remote.h> | |
#include <git2/repository.h> | |
#include <git2/errors.h> | |
#include <git2/global.h> | |
#include <stdio.h> | |
int main() { | |
assert(git_libgit2_init() == 1); |
//! Tests for the new feature resolver. | |
use cargo_test_support::cross_compile::{self, alternate}; | |
use cargo_test_support::paths::CargoPathExt; | |
use cargo_test_support::publish::validate_crate_contents; | |
use cargo_test_support::registry::{Dependency, Package}; | |
use cargo_test_support::{basic_manifest, cargo_process, project, rustc_host}; | |
use std::fs::File; | |
#[cargo_test] |
diff --git a/tests/testsuite/features2.rs b/tests/testsuite/features2.rs | |
index 3790ab4be..98cce9a9e 100644 | |
--- a/tests/testsuite/features2.rs | |
+++ b/tests/testsuite/features2.rs | |
@@ -1749,3 +1749,85 @@ foo v0.1.0 ([..]/foo) | |
) | |
.run(); | |
} | |
+#[cargo_test] | |
+fn test_proc_macro() { |
foo.o: file format mach-o 64-bit x86-64 | |
Disassembly of section __TEXT,__text: | |
0000000000000000 <_foo>: | |
./build/bin/llvm-objdump: warning: 'foo.o': failed to parse debug information for foo.o | |
0: b8 08 20 00 00 movl $8200, %eax | |
5: e8 00 00 00 00 callq 0xa <_foo+0xa> |
target triple = "x86_64-apple-macosx10.7.0" | |
define void @foo() #0 { | |
start: | |
%_huge_stack = alloca [1024 x i64], align 8 | |
call void @bar() | |
ret void | |
} | |
declare void @bar() |
target triple = "wasm32-unknown-unknown" | |
define void @bar() #0 { | |
start: | |
tail call fastcc void @inline_me() | |
ret void | |
} | |
define internal void @inline_me() { | |
start: |