Skip to content

Commit

Permalink
update for nightly-2021-11-24 (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahl committed Nov 30, 2021
1 parent 123d0e5 commit ff33033
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ https://github.com/oxidecomputer/dropshot/compare/v0.6.0\...HEAD[Full list of co
=== Breaking Changes

* https://github.com/oxidecomputer/dropshot/pull/197[#197] Endpoints using wildcard path params (i.e. those using the `/foo/{bar:.*}` syntax) previously could be included in OpenAPI output albeit in a form that was invalid. Specifying a wildcard path **without** also specifying `unpublished = true` is now a **compile-time error**.
* https://github.com/oxidecomputer/dropshot/pull/204[#204] Rust 1.58.0-nightly introduced a new feature `asm_sym` which the `usdt` crate requires on macOS. As of this change 1.58.0-nightly or later is required to build with the `usdt-probes` feature on macOS.

== 0.6.0 (released 2021-11-18)

Expand Down
4 changes: 4 additions & 0 deletions dropshot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,10 @@
* DTrace probes.
*/
#![cfg_attr(feature = "usdt-probes", feature(asm))]
#![cfg_attr(
all(feature = "usdt-probes", target_os = "macos"),
feature(asm_sym)
)]

#[derive(Debug, Clone, serde::Serialize)]
pub(crate) struct RequestInfo {
Expand Down

0 comments on commit ff33033

Please sign in to comment.