- perform system update
- if you do it later it will ask for all kind of permissions to override various config files
- change password for root
- default password is user
###Fix trackpad sudo apt-get install git
#[macro_escape]; | |
use std::rt::task::Task; | |
use std::rt::local::Local; | |
mod libunwind; | |
macro_rules! run( | |
($expr:expr) => ( | |
{ |
#[feature(macro_rules)]; | |
// There must be two variants of the macro for this simple prototype, each of | |
// them lacking one important feature and with one remaining feature completely | |
// infeasible in a macro_rules! macro. Done properly in the compiler these | |
// would be entirely reasonable. | |
// A variant with support for an output value from the else clause, but with no | |
// support for breaking out of the `for` block. | |
macro_rules! forr1 ( |
//////////////////// | |
// in visit.rs: | |
trait Visitor { | |
fn visit_item(&mut self, item: @ast::item) { ... } | |
fn visit_expr(&mut self, expr: @ast::expr) { visit_expr(self, expr); } | |
... | |
} | |
// default implementations: |
(defun diff-hunk-move (dest-buffer) | |
"Move current hunk to another buffer." | |
(interactive "bBuffer to move to:") | |
(save-excursion | |
(let* ((start | |
(point)) | |
(start-of-file | |
(ignore-errors | |
(goto-char start) | |
(diff-beginning-of-file) |
commit f4a21a1e16f6e9234dc4930b4a68feb67fafaf1b | |
Author: Niko Matsakis <niko@alum.mit.edu> | |
Date: Tue May 7 11:25:56 2013 -0400 | |
query if the tags table is not yet loaded | |
diff --git a/emacs/etags-select.el b/emacs/etags-select.el | |
index 751ac18..96bcdb0 100644 | |
--- a/emacs/etags-select.el | |
+++ b/emacs/etags-select.el |
#[allow(default_methods)]; | |
extern mod syntax; | |
use std::os; | |
use syntax::abi::AbiSet; | |
use syntax::codemap::span; | |
use syntax::parse; | |
use syntax::opt_vec; |
// emscripten uses le32-unknown-nacl triple but rustc doesn't know it now. | |
// So just use similar target instead. | |
// `rustc hello.rs --target=i686-unknown-linux --emit-llvm -S --cfg libc` | |
// `emcc hello.ll -o hello.js` | |
// no `extern mod`. | |
#[no_std]; | |
#[feature(macro_rules)]; | |
use core::container::Container; |
Howto build a rust compiler for the Raspberry Pi on Debian 7.1 (wheezy)
sudo apt-get install git build-essential
test `uname -m` = x86_64 && sudo apt-get install ia32-libs
git clone https://github.com/raspberrypi/tools.git
export PATH=$PWD/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$PATH
git clone http://github.com/mozilla/rust.git
cd rust
./configure --target-triples=arm-unknown-linux-gnueabihf
make