profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/overdrivenpotato/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

overdrivenpotato/bb8-diesel 14

bb8 connection manager for Diesel

overdrivenpotato/EdmpPlugBot 2

DEPRECATED Bot for the r/edmp plug.dj room.

demharusnam/iCare 0

A sample web application enabling effortless, safe, and contact-free appointment booking, visitation, and internal user management for hospitals.

hhamid35/hotel-reservation-system 0

A hotel reservation system created using node.js to meet CPS888 term project requirements

overdrivenpotato/alacritty 0

A cross-platform, GPU-accelerated terminal emulator

overdrivenpotato/atomic-write 0

Efficient atomic writes for Rust

startedrconan/complot

started time in 4 days

PullRequestReviewEvent

startedcolin-kiegel/rust-derive-builder

started time in 10 days

issue openedrust-lang/rust

Unrelated generic parameter causes "unconstrained generic constant"

<!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. -->

The following code will not compile on the latest nightly (aa7aca3b9 2021-09-30):

#![allow(incomplete_features)]
#![feature(generic_const_exprs)]

fn foo<const A: usize>(a: [u32; A]) -> [u32; A + 1] {
    panic!()
}

const LEN: usize = 1;

fn bar<const N: usize>() {
    foo::<LEN>([123]);
}

Removing the unused parameter <const N: usize> on line 11 makes the example compile again.

Error:

Compiling playground v0.0.1 (/playground)
error: unconstrained generic constant
  --> src/lib.rs:11:5
   |
11 |     foo::<LEN>([123]);
   |     ^^^^^^^^^^
   |
   = help: try adding a `where` bound using this expression: `where [(); A + 1]:`
note: required by a bound in `foo`
  --> src/lib.rs:4:46
   |
4  | fn foo<const A: usize>(a: [u32; A]) -> [u32; A + 1] {
   |                                              ^^^^^ required by this bound in `foo`

error: unconstrained generic constant
  --> src/lib.rs:11:5
   |
11 |     foo::<LEN>([123]);
   |     ^^^^^^^^^^^^^^^^^
   |
   = help: try adding a `where` bound using this expression: `where [(); A + 1]:`
note: required by a bound in `foo`
  --> src/lib.rs:4:46
   |
4  | fn foo<const A: usize>(a: [u32; A]) -> [u32; A + 1] {
   |                                              ^^^^^ required by this bound in `foo`

error: could not compile `playground` due to 2 previous errors

Meta

<!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. -->

rustc --version --verbose:

rustc 1.57.0-nightly (aa7aca3b9 2021-09-30)
binary: rustc
commit-hash: aa7aca3b954131720df725e70d12e902eb3be1de
commit-date: 2021-09-30
host: x86_64-apple-darwin
release: 1.57.0-nightly
LLVM version: 13.0.0

created time in 25 days

startedsmartcorelib/smartcore

started time in a month

startedcpmech/russell

started time in a month

startedgoogle/evcxr

started time in 2 months

push eventoverdrivenpotato/rust-psp

Marko Mijalkovic

commit sha cfa63145e973075cc95382fa217e6ca53f671bac

Bump minimum nightly version

view details

push time in 2 months

push eventoverdrivenpotato/rust-psp

Marko Mijalkovic

commit sha cab17032fa7ede616cd0ba056f11a99b431db801

Remove old const_generics feature

view details

Marko Mijalkovic

commit sha 2077f2b2912c8a28ec2acba46936a7bf9b364af4

Avoid deprecated warnings on llvm_asm!

view details

Marko Mijalkovic

commit sha 0a23f2cdcd18e40ea2f9824a1df40b3bbb00b463

Bump minimum nightly version

view details

Marko Mijalkovic

commit sha 45e7f4e885d5776e1ca9629f3eb2e9f325790b60

Release psp v0.1.5

view details

push time in 2 months

MemberEvent

push eventoverdrivenpotato/bb8-diesel

Marko Mijalkovic

commit sha 8c69b450754daf145f03434d6b4c8e2365fe6cbf

Add CI

view details

push time in 2 months

MemberEvent

issue commentoverdrivenpotato/bb8-diesel

Crate maintenance status?

Hi @smklein, I'm not able to actively maintain this repo, but I can set up an auto-publishing CI and give you push access to the repo if you'd like to maintain it. Do you have Discord?

smklein

comment created time in 2 months

push eventoverdrivenpotato/rust-psp

Marko Mijalkovic

commit sha 14fb2a5f082f520b282f67421f065fb516824575

Release cargo-psp v0.1.2

view details

push time in 2 months

push eventoverdrivenpotato/rust-psp

Marko Mijalkovic

commit sha b0ed0be4c19487f51abc6fbef775c5d076090083

Release psp v0.1.4

view details

push time in 2 months

issue commentoverdrivenpotato/rust-psp

Add support for missing libm functions

Initially discovered in #102

overdrivenpotato

comment created time in 3 months

issue openedoverdrivenpotato/rust-psp

Add support for missing libm functions

The following code will not compile due to a link error, as fmodf is missing:

fn psp_main() {
    psp::dprintln!("{}", 10f32 % core::hint::black_box(2.0));
}

This can likely be resolved by linking in the libm crate, which has an implementation of fmodf. This should fix any additional missing functions.

Alternatively it may be possible to somehow natively compile this, if the PSP can support such an instruction (perhaps even through VFPU). This would result in much faster code.

created time in 3 months

pull request commentoverdrivenpotato/rust-psp

update embedded-graphics to 0.7.1

Thanks for the PR 🙂

FloVanGH

comment created time in 3 months

issue commentoverdrivenpotato/rust-psp

linking with `rust-lld`failed

Hi, thanks for reporting this issue. Oddly I can't replicate it on my end (macOS Big Sur, rust nightly 2021-08-05). In order to debug this:

  1. What's your rustc --version?
  2. Make sure you test like this to confirm everything is fresh: git clone ... && cd rust-psp/examples/embedded-graphics && cargo psp (note the cargo psp subcommand)
FloVanGH

comment created time in 3 months

delete branch overdrivenpotato/rust-psp

delete branch : fix-unwind-abi

delete time in 3 months

push eventoverdrivenpotato/rust-psp

Marko Mijalkovic

commit sha a3693147603878b630f7788472426a1744d53216

Use new C-unwind ABI for panics (#101) * Use new C-unwind ABI for panics * Bump minimum rust nightly version This is the latest nightly build of rust after the new `C-unwind` ABI was introduced, which is also able to be installed with the default rustup profile. A feature flag is also added to enable the new ABI.

view details

push time in 3 months

push eventoverdrivenpotato/rust-psp

Marko Mijalkovic

commit sha f611c95acc8caded1e49a96c6b50fe2cf01248e6

Bump minimum rust nightly version This is the latest nightly build of rust after the new `C-unwind` ABI was introduced, which is also able to be installed with the default rustup profile. A feature flag is also added to enable the new ABI.

view details

push time in 3 months

push eventoverdrivenpotato/rust-psp

Marko Mijalkovic

commit sha 0138e24017800694e172a148bc3f9efc7c9502c0

Bump minimum rust nightly version This is the latest nightly build of rust after the new `C-unwind` ABI was introduced, which is also able to be installed with the default rustup profile. A feature flag is also added to enable the new ABI.

view details

push time in 3 months

create barnchoverdrivenpotato/rust-psp

branch : fix-unwind-abi

created branch time in 3 months

pull request commentneovim/neovim

Add mousescroll option

Is there something blocking this PR from being merged?

JaySandhu

comment created time in 3 months