Skip to content

Instantly share code, notes, and snippets.

View gist:6aa6d27009ebc00ace9ede17468d729b
j@lear  ~/dev/accept/test/sbr-validate-npm   master  wasm-pack build
[1/9] Checking `rustc` version...
[2/9] Checking crate configuration...
[3/9] Adding WASM target...
info: component 'rust-std' for target 'wasm32-unknown-unknown' is up to date
[4/9] Compiling to WASM...
Compiling sbr-validate-npm v0.9.0 (/home/j/dev/accept/test/sbr-validate-npm)
error[E0277]: the trait bound `sbr_interpreter_api::Interpreter: wasm_bindgen::convert::IntoWasmAbi` is not satisfied
--> src/lib.rs:38:1
@jjpe
jjpe / gist:f8e05084e562b83f4a3a1f6b87430635
Created Mar 5, 2018
[fedora 27] servo build failure log, march 5 2018
View gist:f8e05084e562b83f4a3a1f6b87430635
````
~/dev/servo $ ./mach build --dev
Compiling device v0.0.1 (https://github.com/servo/devices#1069d67c)
Compiling bluetooth v0.0.1 (file:///home/j/dev/servo/components/bluetooth)
Compiling libservo v0.0.1 (file:///home/j/dev/servo/components/servo)
Compiling servo v0.0.1 (file:///home/j/dev/servo/ports/servo)
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/j/.rustup/toolchains/nightly-2018-01-21-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/j/dev/servo/target/debug/deps/servo-af1d3c45b1e5294f.10spet9cjza85wf4.rcgu.o" "/home/j/dev/servo/target/debug/deps/servo-af1d3c45b1e5294f.114xigf1yyw2gcw0.rcgu.o" "/home/j/dev/servo/target/debug/deps/servo-af1d3c45b1e5294f.12f5ifttr58vfevz.rcgu.o" "/home/j/dev/servo/target/debug/deps/servo-af1d3c45b1e5294f.158wz1xuz2s5vbhj.rcgu.o" "/home/j/dev/servo/target/debug/deps/servo-af1d3c45b1e5294f.1598q11f1nfieoq0.rcgu.o" "/home/j/dev/servo/target/debug
@jjpe
jjpe / gist:992a1031c9cda95d50d0
Created Jan 4, 2016
Spoofax Server log showing an AnalysisException when trying to analyze a file
View gist:992a1031c9cda95d50d0
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building spoofax-server 0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.3.2:java (default-cli) @ spoofax-server ---
Headless mode: active
13:55:58.180 [main] INFO o.m.s.s.main.ServerMain - Welcome to the Spoofax server!
@jjpe
jjpe / shell output
Created Dec 27, 2015
spoofax releng build failure
View shell output
✘  ~/Documents/TUDelft/MSc/thesis/prototypes/spoofax-releng   master  sudo ./releng build -s -t all
Using Eclipse qualifier 20151218-162125-master.
Building component(s): poms, strategoxt, java, eclipse, pluginpoms, spoofax-libs, test-runner
Building: poms
MAVEN_OPTS=-Xss16M -Xms512M -Xmx1024M -XX:MaxPermSize=512M mvn --batch-mode --file "/Users/j/Documents/TUDelft/MSc/thesis/prototypes/spoofax-releng/spoofax-deploy/org.metaborg.maven.build.parentpoms/pom.xml" -Dmaven.repo.local="/Users/j/.m2/repository" --no-snapshot-updates --activate-profiles=!add-metaborg-repositories clean install
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
View dynlibtest.cc
#include <iostream>
#include <vector>
#include <limits>
#include "stdint.h"
#include <cstring>
#include <sys/time.h>
#include <ffi.h>
#include <dlfcn.h>
@jjpe
jjpe / dynamic lib failure
Created May 2, 2015
Calling rand using ::dlsym()
View dynamic lib failure
#include <iostream>
#include <ffi.h>
#include <dlfcn.h>
int main(int argc, const char* argv[]) {
char* err_str;
err_str = ::dlerror();
if (err_str) {
std::cout << "dlsym: pre error: " << err_str << "\n";
}
View frontendDevlopmentBookmarks.md
You can’t perform that action at this time.