I hereby claim:
- I am mcpherrinm on github.
- I am mcpherrinm (https://keybase.io/mcpherrinm) on keybase.
- I have a public key whose fingerprint is 9CB0 EADC 9F72 685C 0657 401B 30CF 8EFF 1324 4DAC
To claim this, I am signing this object:
| https://outage.party |
| #!/bin/bash | |
| while [[ $# > 0 ]]; do | |
| case $1 in | |
| -i|-in|--in) input="-i $2" | |
| shift 2 | |
| ;; | |
| -o|-out|--out) output="-out $2" | |
| shift 2 | |
| ;; | |
| *) echo "Usage of ascii2pem:" |
| set nocompatible | |
| let g:no_rust_conceal = 1 | |
| syntax on " syntax highlighting | |
| set background=dark | |
| " Vim jump to the last position when | |
| " reopening a file | |
| if has("autocmd") | |
| au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") |
| set -g prefix2 C-s | |
| bind-key b send-prefix | |
| bind-key s send-prefix -2 | |
| set -g status-bg black | |
| set -g status-fg white | |
| set-window-option -g window-status-current-bg blue | |
| set-window-option -g window-status-current-fg white | |
| set -g base-index 1 | |
| set -s escape-time 0 | |
| set -g history-limit 1000000 |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| main: declare.o main.o | |
| declare.o: declare.cc | |
| main.o: main.cc |
| fn main() { println!("Hello, World!") } |
| mm@cereal:~/dytest$ rustc -C prefer-dynamic --crate-type=dylib fooz.rs | |
| mm@cereal:~/dytest$ cat fooz.rs | |
| #[no_mangle] | |
| pub extern "C" fn foo(x: int) { | |
| println!("Cowabunga, {}", x); | |
| } | |
| mm@cereal:~/dytest$ cat test.py | |
| import ctypes | |
| fooz = ctypes.CDLL("/home/mm/dytest/libfooz-afaf02c9-0.0.so") |
| diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs | |
| index 00c07ce..e691821 100644 | |
| --- a/src/libsyntax/parse/parser.rs | |
| +++ b/src/libsyntax/parse/parser.rs | |
| @@ -921,8 +921,9 @@ impl<'a> Parser<'a> { | |
| return true | |
| } | |
| - if token::is_keyword(keywords::Unsafe, &self.token) || | |
| - token::is_keyword(keywords::Once, &self.token) { |