blob: 7cf5dabb3e60fd1b7d70aa74d5c7e3b9ece6a208 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stdio.h>
#include "examples/rust/cdylib/rust/crust.h"
void print_msg(void) {
// Call the method from the Rust crate.
printf("rust says: '%d'\n", crust_get_int());
}