I hereby claim:
- I am m3rcuriel on github.
- I am m3rcuriel (https://keybase.io/m3rcuriel) on keybase.
- I have a public key ASB69bRFQtSNCSUyFhd9N83vreYtqzgwE7EWoRwjjPaKtwo
To claim this, I am signing this object:
diff --git a/rust/private/rust.bzl b/rust/private/rust.bzl | |
index d14b761..9d5b070 100644 | |
--- a/rust/private/rust.bzl | |
+++ b/rust/private/rust.bzl | |
@@ -281,10 +281,27 @@ _rust_library_attrs = { | |
), | |
} | |
+def _platform_to_host_transition(settings, attr): | |
+ if attr.crate_type == "proc-macro": |
diff --git a/rust/private/rust.bzl b/rust/private/rust.bzl | |
index d14b761..e3c2cb6 100644 | |
--- a/rust/private/rust.bzl | |
+++ b/rust/private/rust.bzl | |
@@ -281,6 +281,27 @@ _rust_library_attrs = { | |
), | |
} | |
+def _platform_to_host_transition(settings, attr): | |
+ return { |
I hereby claim:
To claim this, I am signing this object:
#include "y2016/control_loops/superstructure/superstructure.h" | |
#include <unistd.h> | |
#include <chrono> | |
#include <memory> | |
#include "aos/common/commonmath.h" | |
#include "aos/common/controls/control_loop_test.h" | |
#include "aos/common/queue.h" |
;;=============================== | |
;; Name: YOUR NAME HERE | |
;;=============================== | |
;; Write a program sums the elements in an array | |
;; Note 1) Store the sum in the label SUM once the program has terminated | |
;; 2) The array's length is stored in the label LENGTH | |
;; 3) The address of the array's first element is stored in the label ARRAY | |
.orig x3000 | |
LEA R0, IDEAZ |
<test-suite> | |
<test-case> | |
<name>sum(sum=0, length=0, [])</name> | |
<has-max-executions>1</has-max-executions> | |
<max-executions>1000000</max-executions> | |
<randomize>1</randomize> | |
<input> | |
<test-array> | |
<address>ARRAY</address> | |
<value></value> |
#include "frc971/wpilib/gyro_interface.h" | |
#include <inttypes.h> | |
#include <chrono> | |
#include "aos/common/logging/logging.h" | |
#include "aos/common/time.h" | |
#ifndef M_PI | |
#define M_PI 3.14159265358979323846 |
from googleapiclient.discovery import build | |
from oauth2client.service_account import ServiceAccountCredentials | |
from functools import lru_cache | |
import glog | |
import os | |
import requests | |
import secrets | |
import string | |
import json |
func UserHandler(w http.ReponseWriter, req *http.Request, next http.HandlerFunc) { | |
user := req.Context().Value("user") | |
if user.(*jwt.Token).Claims("user") == "" { | |
DenyRequest(w) | |
return | |
} | |
perm := user.(*jwt.Token).Claims("perm") | |
id := user.(*jwt.Token).Claims("id") | |
if perm < ADMIN { |
I hereby claim:
To claim this, I am signing this object: