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
| $ cabal-dev -v3 install ./hoauth | |
| ... | |
| Preprocessing library hoauth-0.3.3... | |
| Building hoauth-0.3.3... | |
| Building library... | |
| Creating dist/build (and its parents) | |
| ("/usr/bin/ghc",["--make","-package-name","hoauth-0.3.3","-v","-hide-all-packages","-fbuilding-cabal-package","-no-user-package-conf","-package-conf","/code/twitterapp/cabal-dev/packages-7.0.3.conf","-i","-idist/build","-isrc/main/haskell","-idist/build/autogen","-Idist/build/autogen","-Idist/build","-optP-include","-optPdist/build/autogen/cabal_macros.h","-odir","dist/build","-hidir","dist/build","-stubdir","dist/build","-package-id","RSA-1.0.6.2-0e99603be5cdaae073745f91b7e3ee82","-package-id","SHA-1.5.0.0-d40dbda21441fb4caa76900f26cdb261","-package-id","base-4.3.1.0-91c3839608ff4d3ec95f734c5ae4f31c","-package-id","binary-0.5.1.0-eb7725aff076c73326b87ee371d4e462","-package-id","bytestring-0.9.1.10-6aa1efbfa95d1689fc03d61e7c4b27c4","-package-id","crypto-api-0.9-28756e59491eb414afeee859fcb81b12","-package-id","curl-1.3.7-c9029eaa8f5bfc5cde01b6e041066b5b" |
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
| -rw-r--r-- 1 root root 1910709 2012-03-17 19:23 /usr/local/lib/libcore-14bd852465126fe7-0.1.so | |
| -rw-r--r-- 1 root root 15265309 2012-03-17 19:23 /usr/local/lib/librustc-2384c9e5928f8c53-0.1.so | |
| -rw-r--r-- 1 root root 1637094 2012-03-17 19:23 /usr/local/lib/libstd-a49027b54567464a-0.1.so | |
| -rw-r--r-- 1 root root 1910709 2012-03-17 19:23 /usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-14bd852465126fe7-0.1.so | |
| -rw-r--r-- 1 root root 15265309 2012-03-17 19:23 /usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib/librustc-2384c9e5928f8c53-0.1.so | |
| -rw-r--r-- 1 root root 1637094 2012-03-17 19:23 /usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-a49027b54567464a-0.1.so |
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
| kunix:temp $ cat temp.rs | |
| use std; | |
| fn main() { | |
| std::io::println("hello..."); | |
| } | |
| kunix:temp $ | |
| kunix:temp $ rustc temp.rs | |
| error: linking with cc failed with code 1 | |
| note: cc arguments: -L/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib -m64 -o ./temp ./temp.o -L/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib -lcore-14bd852465126fe7-0.1 -L/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib -lstd-79ca5fac56b63fde-0.1 -lm -lrustrt -lrt -ldl -lmorestack -Wl,-rpath,$ORIGIN/../../../usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib -Wl,-rpath,/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib | |
| note: /usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-79ca5fac56b63fde-0.1.so: undefined reference to `str::rfind::_c8a8f2f90b491d4a' |
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
| $ diff -u <(xxd /usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore-14bd852465126fe7-0.1.so) <(xxd /usr/local/lib/libcore-14bd852465126fe7-0.1.so) | |
| --- /dev/fd/63 2012-03-17 19:16:46.655377690 -0700 | |
| +++ /dev/fd/62 2012-03-17 19:16:46.655377690 -0700 | |
| @@ -31,8 +31,8 @@ | |
| 00001e0: 7896 2700 0000 0000 8819 0000 0000 0000 x.'............. | |
| 00001f0: 8819 0000 0000 0000 0100 0000 0000 0000 ................ | |
| 0000200: 0400 0000 1400 0000 0300 0000 474e 5500 ............GNU. | |
| -0000210: 7e99 2c6c c85d 06d5 99de 5d5b b77c 0d9a ~.,l.]....][.|.. | |
| -0000220: d8fc f30f 0000 0000 0704 0000 1c01 0000 ................ | |
| +0000210: 5348 1d13 072e 1ba8 9194 b133 b88d 1074 SH.........3...t |
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
| use std; | |
| fn main() { | |
| std::io::println("hello..."); | |
| } |
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
| fn slice<T: copy>(vv: [const T], start: uint, end: uint) -> [T] unsafe { | |
| assert start <= end; | |
| assert end <= len(vv); | |
| let mut result: [T] = []; | |
| let size = end - start; | |
| // reserve the space | |
| reserve(result, size); | |
| // copy the memory all at once |
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
| \documentclass{article} | |
| \usepackage{amssymb,amsmath} | |
| \usepackage[mathletters]{ucs} | |
| \usepackage[utf8x]{inputenc} | |
| \usepackage{fancyvrb} | |
| \usepackage{url} | |
| \usepackage[breaklinks=true,unicode=true,pdfborder={0 0 0}]{hyperref} | |
| \setlength{\parindent}{0pt} | |
| \setlength{\parskip}{6pt plus 2pt minus 1pt} | |
| \VerbatimFootnotes % allows verbatim text in footnotes |
This file has been truncated, but you can view the full file.
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
| kcantu@kunix:/code/rust-TEMP$ sudo apt-get install texlive-latex-base | |
| [sudo] password for kcantu: | |
| Reading package lists... Done | |
| Building dependency tree | |
| Reading state information... Done | |
| The following extra packages will be installed: | |
| texlive-latex-base-doc | |
| The following NEW packages will be installed: | |
| texlive-latex-base texlive-latex-base-doc | |
| 0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded. |
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
| [Input] | |
| let x = "hello"; | |
| [Input] | |
| let y = x + x; | |
| [Input] | |
| y; | |
| [Input] |
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
| $ diff -rq rust/src rust-mergetest/src | grep -v "\.pyc\|\.git\|\.swp" | sed -e 's/Files //' -e 's/ and//' -e 's/ differ//' | while read X; do diff -u $X; done > ~/Desktop/merge-conflict.diff |