aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rtic-macros/src/syntax/analyze.rs2
-rw-r--r--rtic-monotonics/src/lib.rs1
-rw-r--r--rtic-time/src/lib.rs1
-rw-r--r--rtic/src/export/cortex_basepri.rs2
-rw-r--r--xtask/src/main.rs2
5 files changed, 3 insertions, 5 deletions
diff --git a/rtic-macros/src/syntax/analyze.rs b/rtic-macros/src/syntax/analyze.rs
index 57f9f2cd..3e5e80bd 100644
--- a/rtic-macros/src/syntax/analyze.rs
+++ b/rtic-macros/src/syntax/analyze.rs
@@ -193,7 +193,7 @@ pub(crate) fn app(app: &App) -> Result<Analysis, syn::Error> {
// Collect errors if any and return/halt
if !error.is_empty() {
- let mut err = error.get(0).unwrap().clone();
+ let mut err = error.first().unwrap().clone();
error.iter().for_each(|e| err.combine(e.clone()));
return Err(err);
}
diff --git a/rtic-monotonics/src/lib.rs b/rtic-monotonics/src/lib.rs
index b34f9d62..8757eb85 100644
--- a/rtic-monotonics/src/lib.rs
+++ b/rtic-monotonics/src/lib.rs
@@ -23,7 +23,6 @@
#![no_std]
#![deny(missing_docs)]
#![allow(incomplete_features)]
-#![feature(async_fn_in_trait)]
#![cfg_attr(docsrs, feature(doc_cfg))]
pub use rtic_time::{Monotonic, TimeoutError, TimerQueue};
diff --git a/rtic-time/src/lib.rs b/rtic-time/src/lib.rs
index 05c50260..0c3e3495 100644
--- a/rtic-time/src/lib.rs
+++ b/rtic-time/src/lib.rs
@@ -6,7 +6,6 @@
#![no_std]
#![deny(missing_docs)]
#![allow(incomplete_features)]
-#![feature(async_fn_in_trait)]
use core::future::{poll_fn, Future};
use core::pin::Pin;
diff --git a/rtic/src/export/cortex_basepri.rs b/rtic/src/export/cortex_basepri.rs
index e40ece4f..14017543 100644
--- a/rtic/src/export/cortex_basepri.rs
+++ b/rtic/src/export/cortex_basepri.rs
@@ -3,7 +3,7 @@ use cortex_m::register::basepri;
pub use cortex_m::{
asm::wfi,
interrupt,
- peripheral::{scb::SystemHandler, DWT, NVIC, SCB, SYST},
+ peripheral::{scb::SystemHandler, DWT, SCB, SYST},
Peripherals,
};
diff --git a/xtask/src/main.rs b/xtask/src/main.rs
index 30c3da05..90ba13fb 100644
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -23,7 +23,7 @@ pub struct Target<'a> {
}
impl<'a> Target<'a> {
- const DEFAULT_FEATURES: &str = "test-critical-section";
+ const DEFAULT_FEATURES: &'static str = "test-critical-section";
pub const fn new(triple: &'a str, has_std: bool) -> Self {
Self { triple, has_std }
iro/queue-response-experiment'>aboutsummaryrefslogtreecommitdiff
path: root/.scripts (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-24Fixes #3031 (#3041)Gravatar Jarred Sumner 3-2/+105
* Fixes #3031 * Leave original input in there --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-05-24Implement `require.cache` (#3045)Gravatar Jarred Sumner 9-1/+187
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-05-24extend test time-outs (#3048)Gravatar Alex Lam S.L 2-7/+7
- avoid intermittent failures due to network latencies
2023-05-23Implement `bun test --timeout` (#3040)Gravatar Ashcon Partovi 4-6/+80
You can change the default per-test timeout in `bun test`: > bun test --timeout 10 The default timeout is 5000.
2023-05-23Fix incorrect URL in loaders.md (#3025)Gravatar Kruithne 1-1/+1
2023-05-23workaroundGravatar Jarred Sumner 1-1/+1
2023-05-23too noisyGravatar Jarred Sumner 1-1/+1
2023-05-23Add pkg-config as a build requirement (#3027)Gravatar Bill Mill 1-0/+1
Without pkg-config, the libarchive build fails in autogen.sh[1] 1: https://github.com/libarchive/libarchive/issues/742
2023-05-23fix bun init and update node vm docs (#3014)Gravatar dave caruso 3-6/+5
2023-05-23check if key from `exports` can be printed as an identifier (#3032)Gravatar Dylan Conway 1-2/+8
* check if key can be printed as an identifier * possibly escape
2023-05-23Support test.todo() in ecosystem runnerGravatar Ashcon Partovi 6-292/+430
2023-05-23[bun:test] Don't schedule the GC aggressively on every fileGravatar Jarred Sumner 1-1/+10
We already run the GC automatically whenever heap size grows, so this is mostly unnecessary In one benchmark, this is an 83% performance improvement at a cost of 9% more memory
2023-05-23Skip failing testsGravatar Jarred Sumner 1-3/+3
2023-05-23[bun:test] Fix async/done-based test.todo (#3015)Gravatar Jarred Sumner 3-10/+51
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-05-23Support setting a timezone with `process.env.TZ` and `Bun.env.TZ` (#3018)Gravatar Jarred Sumner 12-1/+225
* Support setting a timezone via `process.env.TZ` * Implement `setTimeZone` in `bun:jsc` module * [breaking] `bun:test` now defaults to `Etc/UTC` timezone --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-05-22fix extra/ArbitraryModuleNamespaceIdentifiers2 (#3016)Gravatar dave caruso 1-2/+0
* fix extra/ArbitraryModuleNamespaceIdentifiers2 * remove assert
2023-05-22Update .prettierignoreGravatar Jarred Sumner 1-0/+1
2023-05-22add some connect test and type changes (#3013)Gravatar dave caruso 5-3/+120
2023-05-22fix marking requestCert (#3012)Gravatar Ciro Spaciari 1-3/+12
2023-05-22[node:http] Fix return type for `getHeader()` (#3007)Gravatar Jarred Sumner 2-7/+15
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-05-22Write out builtins with TypeScript + Minify them (#2999)Gravatar dave caruso 127-25009/+16346
* start work drafting how builtins will work * work on ts builtin * builtins stuff so far * builtins * done for today * continue work * working on it * bindings so far * well, it builds. doesnt run * IT RUNS * still lots of ts errors but it is functional * sloppy mode
2023-05-22443 should default to https when no protocol is informed (#3008)Gravatar Ciro Spaciari 1-1/+10
2023-05-22[node:buffer] Add missing `inspect` functionbun-v0.6.3Gravatar Jarred Sumner 5-0/+35
cc @paperdave
2023-05-22[node:vm] Accept undefined in `createContext`Gravatar Jarred Sumner 1-0/+5
2023-05-22fixup (#3001)Gravatar Ciro Spaciari 1-8/+7
2023-05-22Skip testGravatar Jarred Sumner 1-1/+2
2023-05-22Skip more testsGravatar Jarred Sumner 1-1/+2
2023-05-22[breaking] ServerWebSocket.publish no longer publishes to self by defaultGravatar Jarred Sumner 3-8/+25
This changes `publishToSelf` to be `false` by default instead of `true`. This is a breaking change because it means that `ws.publish("foo", "bar")` will exclude `ws` from the list of websockets to broadcast. We are making this change because many people asked for this and were confused by the status quo - that `w.publish` publishes to self.
2023-05-22[ServerWebSocket] `binaryType` now defaults to `"nodebuffer"`Gravatar Jarred Sumner 3-14/+15
Previously, this defaulted to "uint8array", so this shouldn't be a breaking change unless you make use of `.slice()` in which case it will now be a reference to the same ArrayBuffer rather than a clone. The rationale for this change is most usages of Uint8Array on the server need a little more than just the bytes. Many npm packages expect Buffer rather than Uint8Array. Directly returning it for binary websocket messages is faster than creating another one.
2023-05-22only merge if kind is `var`Gravatar Dylan Conway 1-1/+4
2023-05-22document arch linux workaround, see #2664 (#2997)Gravatar dave caruso 1-0/+10
2023-05-22Fix memory leak in `fetch(url)` (#2989)Gravatar Jarred Sumner 4-11/+136
* Fix memory leak in `fetch(url)` * Bump those numbers up --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-05-22Update WebKitGravatar Jarred Sumner 1-0/+0
2023-05-21Skip hanging testsGravatar Jarred Sumner 7-6/+13
2023-05-21Fix testGravatar Jarred Sumner 1-10/+10
2023-05-21[internal] Even more loggingGravatar Jarred Sumner 1-3/+5
2023-05-21[internal] Use `HiveArray` instead of bespoke memory allocator in Bun.serve()Gravatar Jarred Sumner 2-89/+14
No performance or memory usage change Just removing some duplicate code
2023-05-21Fix assertion failureGravatar Jarred Sumner 1-1/+1
2023-05-21oopsieGravatar Jarred Sumner 1-1/+1
2023-05-21WS send with callback (#2986)Gravatar Ciro Spaciari 3-44/+39
* WS send with callback * add opts.compress support * fmt * compress is the only option we care * add ws client options * only change ws client when using blob * fmt * fix errors * fixup * fixup * fmt
2023-05-21[Bun.serve] Support `"nodebuffer"` binaryType in `ServerWebSocket`Gravatar Jarred Sumner 4-77/+122
2023-05-21[WebSocket] Implement `"nodebuffer"` binaryTypeGravatar Jarred Sumner 5-5/+125
2023-05-21[ws client] Make it a little more type safeGravatar Jarred Sumner 1-33/+51
2023-05-21[internal] Add more debug logs for uwsGravatar Jarred Sumner 2-3/+8
2023-05-21[internal] Add a 0 byte to EOF read files as a precautionGravatar Jarred Sumner 1-1/+5
2023-05-21[internal] Make AbortSIgnal usage slightly saferGravatar Jarred Sumner 3-6/+11
2023-05-21Add extra flag just to be sureGravatar Jarred Sumner 1-1/+1
2023-05-21[internal] Fix potential missing callbacks in AbortSignalGravatar Jarred Sumner 2-208/+2