This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pub fn foo() -> int { 5 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - [ ] 0001-private-fields | |
| - [ ] 0002-rfc-process | |
| - [ ] 0003-attribute-usage | |
| - [ ] 0008-new-intrinsics | |
| - [ ] 0016-more-attributes | |
| - [ ] 0019-opt-in-builtin-traits | |
| - [ ] 0026-remove-priv | |
| - [ ] 0034-bounded-type-parameters | |
| - [ ] 0040-libstd-facade | |
| - [ ] 0042-regexps |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <std macros>:3:22: 3:40 error: mismatched types: expected `error::Error`, found `collections::string::String` (expected trait error::Error, found struct collections::string::String) | |
| <std macros>:3 format_args!(::std::fmt::format, $($arg)*) | |
| ^~~~~~~~~~~~~~~~~~ | |
| note: in expansion of format_args! | |
| <std macros>:3:9: 3:51 note: expansion site | |
| <std macros>:1:1: 5:2 note: in expansion of format! | |
| /home/steve/src/rust-book/src/build.rs:113:36: 116:34 note: expansion site | |
| /home/steve/src/rust-book/src/build.rs:113:32: 116:45 error: the trait `core::kinds::Sized` is not implemented for the type `error::Error` | |
| /home/steve/src/rust-book/src/build.rs:113 return Err(box format!("{}\n{}", | |
| /home/steve/src/rust-book/src/build.rs:114 String::from_utf8_lossy(output.output[]), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DEBUG:wtftw_core::core: creating new workspaces with 1 screen(s) | |
| INFO:wtftw_core::config: compiling config module | |
| INFO:wtftw_core::config: config module compiled | |
| DEBUG:wtftw_core::config: looking for config module | |
| DEBUG:wtftw_core::core: creating new workspaces with 1 screen(s) | |
| INFO:wtftw: WTFTW - Window Tiling For The Win | |
| INFO:wtftw: Starting wtftw on 1 screen(s) | |
| DEBUG:wtftw: Display 0: 1920x1080 (0, 0) | |
| DEBUG:wtftw: Size of keyhandlers after config.generaluration: 38 | |
| DEBUG:wtftw: grabbing command KeyCommand { mask: 0, key: 269025026 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// Literal strings translate to slices into static memory. This is different from | |
| /// trans_slice_vstore() above because it doesn't need to copy the content anywhere. | |
| pub fn trans_lit_str<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, | |
| lit_expr: &ast::Expr, | |
| str_lit: InternedString, | |
| dest: Dest) | |
| -> Block<'blk, 'tcx> { | |
| debug!("trans_lit_str(lit_expr={}, dest={})", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| for name in $(cat repos.txt); do | |
| echo $name; | |
| repo=$(echo $name | cut -d'/' -f2); | |
| echo $repo; | |
| hub clone $name; | |
| cd $repo; | |
| hub fork; | |
| pwd && grep -lZR 'panic!' . | xargs -0 -l sed -i -e 's/panic!/panic!/g'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #[no_mangle] | |
| pub extern "C" fn hello_rust() { | |
| println!("Hello, world!"); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cfg: build triple x86_64-unknown-linux-gnu | |
| cfg: host triples x86_64-unknown-linux-gnu | |
| cfg: target triples x86_64-unknown-linux-gnu | |
| cfg: enabling more debugging (CFG_ENABLE_DEBUG) | |
| cfg: host for x86_64-unknown-linux-gnu is x86_64 | |
| cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu | |
| cfg: using CC=ccache gcc (CFG_CC) | |
| cfg: no llnextgen found, omitting grammar-verification | |
| make -C /home/steve/src/rust/x86_64-unknown-linux-gnu/llvm ONLY_TOOLS="bugpoint llc llvm-ar llvm-as llvm-dis llvm-mc opt llvm-extract" | |
| make[1]: Entering directory `/home/steve/src/rust/x86_64-unknown-linux-gnu/llvm' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cfg: build triple x86_64-unknown-linux-gnu | |
| cfg: host triples x86_64-unknown-linux-gnu | |
| cfg: target triples x86_64-unknown-linux-gnu | |
| cfg: enabling more debugging (CFG_ENABLE_DEBUG) | |
| cfg: host for x86_64-unknown-linux-gnu is x86_64 | |
| cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu | |
| cfg: using CC=ccache gcc (CFG_CC) | |
| cfg: no llnextgen found, omitting grammar-verification | |
| make: llvm | |
| make[1]: Entering directory `/home/steve/src/rust/x86_64-unknown-linux-gnu/llvm' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cfg: build triple x86_64-unknown-linux-gnu | |
| cfg: host triples x86_64-unknown-linux-gnu | |
| cfg: target triples x86_64-unknown-linux-gnu | |
| cfg: enabling more debugging (CFG_ENABLE_DEBUG) | |
| cfg: host for x86_64-unknown-linux-gnu is x86_64 | |
| cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu | |
| cfg: using CC=ccache gcc (CFG_CC) | |
| cfg: no llnextgen found, omitting grammar-verification | |
| make: llvm | |
| make[1]: Entering directory `/home/steve/src/rust/x86_64-unknown-linux-gnu/llvm' |