- Disable Secure Boot in BIOS, enable Boot of Ubuntu
- Boot this ISO via USB stick: https://plus.google.com/+IanMORRISON/posts/igAkD5j3MAq
- Use arch-bootstrap to install Arch Linux on the stick: https://github.com/tokland/arch-bootstrap
- aloso install the wifi driver https://aur.archlinux.org/packages/rtl8723bs-dkms-git/
- Copy Firmware
rtl8723bs_nic.bin
for Wifi from https://github.com/hadess/rtl8723bs - Update Compute Stick Firmware (to make headless work): https://communities.intel.com/message/347428#347428 https://downloadcenter.intel.com/download/25506
- To boot headless: add kernel parameters
text
(maybe not needed anymore)
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
#[inline(never)] | |
pub fn f(ary: &[u8; 5]) -> &[u8] { | |
let idx = 1e100f64 as usize; | |
&ary[idx..] | |
} | |
fn main() { | |
let a = &[1; 5]; | |
let z = f(a); | |
println!("{}", z[0xdeadbeef]); |
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
processor_1 | [2016-08-16 13:43:42,840] DEBUG scala.slick.jdbc.JdbcBackend.benchmark [] [akka://JobServer/user/job-info] - Execution of prepared update took 21ms | |
processor_1 | [2016-08-16 13:43:42,848] INFO akka.remote.RemoteActorRefProvider$RemoteDeadLetterActorRef [] [akka://JobServer/deadLetters] - Message [spark.jobserver.JobInfoActor$JobConfigStored$] from Actor[akka://JobServer/user/job-info#1203246897] to Actor[akka://JobServer/deadLetters] was not delivered. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. |
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
INFO:rustc_metadata::creader: resolving crate `extern crate std as std` | |
INFO:rustc_metadata::creader: falling back to a load | |
INFO:rustc_metadata::locator: lib candidate: C:\msys64\home\Karamel\rust-src\build\x86_64-pc-windows-gnu\stage1\lib\rustlib\x86_64-pc-windows-gnu\lib\libstd-205dd821d8083247.rlib | |
INFO:rustc_metadata::locator: lib candidate: C:\msys64\home\Karamel\rust-src\build\x86_64-pc-windows-gnu\stage1\lib\rustlib\x86_64-pc-windows-gnu\lib\libstd_shim-28ebad962511a055.rlib | |
INFO:rustc_metadata::locator: lib candidate: C:\msys64\home\Karamel\rust-src\build\x86_64-pc-windows-gnu\stage1\lib\rustlib\x86_64-pc-windows-gnu\lib\libstd_unicode-0e007ddb68557844.rlib | |
INFO:rustc_metadata::locator: lib candidate: C:\msys64\home\Karamel\rust-src\build\x86_64-pc-windows-gnu\stage1\lib\rustlib\x86_64-pc-windows-gnu\lib\std-205dd821d8083247.dll | |
INFO:rustc_metadata::locator: rlib reading metadata from: \\?\C:\msys64\home\Karamel\rust-src\build\x86_64-pc-windows-gnu\stage1\lib\rustlib\x86_64-pc-windows-gnu\lib\libstd_ |
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
[llvm] | |
optimize = true | |
[rust] | |
optimize = true | |
codegen-units = 0 | |
debug-assertions = true | |
debuginfo = true | |
debuginfo-lines = true |
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 struct Dummy {} | |
impl Dummy { | |
pub fn new() -> Dummy { | |
Dummy {} | |
} | |
} | |
impl<'a, 'gcx, 'tcx> Visitor<'a> for Dummy { | |
fn nested_visit_map<'this>(&'this mut self) -> NestedVisitorMap<'this, 'a> { |
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 main() { | |
let mut z = 4; | |
z += 10; | |
let mut hede: Vec<u8> = vec![]; | |
hede.push(1); | |
print!("{:?}", hede); | |
let x = vec![]; |
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 main() { | |
let mut z = 4; | |
let mut hede: Vec<u8> = vec![]; | |
let x = vec![]; | |
} | |
/* | |
_#0t | |
---> _#0t |
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
$ ./build/x86_64-unknown-linux-gnu/stage1/bin/rustc -Z verbose src/test/compile-fail/issue-16966.rs | |
error[E0282]: type annotations needed | |
--> src/test/compile-fail/issue-16966.rs:12:5 | |
| | |
12 | panic!(std::default::Default::default()); //~ ERROR type annotations needed [E0282] | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for `M` | |
| | |
= note: this error originates in a macro outside of the current crate | |
error: aborting due to previous error |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
my $version = "3.5"; | |
my @commands = qw(llvm-as llvm-dis opt llc lli llvm-link llvm-ar llvm-lib | |
llvm-nm llvm-config llvm-diff llvm-cov llvm-profdata | |
llvm-stress llvm-symbolizer llvm-dwarfdump); | |
foreach my $c (@commands) { |