Skip to content

Instantly share code, notes, and snippets.

View oherrala's full-sized avatar
👾

Ossi Herrala oherrala

👾
View GitHub Profile
@oherrala
oherrala / gist:a2f8f8d7af1ba30ccd784c7dc62a22b6
Created November 6, 2019 11:32
Dockerfile for Rust cross compilation to aarch64
FROM rust:1.37.0
ENV TARGET="aarch64-unknown-linux-musl"
ARG LIBRESSL=libressl-3.0.2
ARG TOOLCHAIN_AARCH64="aarch64--musl--stable-2018.11-1"
ARG TC_AARCH64_URL="https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/${TOOLCHAIN_AARCH64}.tar.bz2"
ARG DEBIAN_FRONTEND=noninteractive
diff --git a/energiatili-model/src/model.rs b/energiatili-model/src/model.rs
index 5727fd2..c07588e 100644
--- a/energiatili-model/src/model.rs
+++ b/energiatili-model/src/model.rs
@@ -29,11 +29,11 @@ pub struct Model {
pub hours: OneResolution,
pub days: OneResolution,
pub months: OneResolution,
pub years: OneResolution,
pub network_price_list: PriceList,

Keybase proof

I hereby claim:

  • I am oherrala on github.
  • I am oherrala (https://keybase.io/oherrala) on keybase.
  • I have a public key whose fingerprint is 8A57 7D63 3114 DDF1 D8D9 02C4 1492 1150 FF75 7F0F

To claim this, I am signing this object: